<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-10 12:21:58 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git rebase</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Patching">
                                Patching                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="93b8b96160ee76be0613faf0b50a8ae463adde8e6765fc563cf5ca2a88817ca7/a2" data-source="git-rebase" onmousemove="i18n(this)">git-rebase</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="7775ec8c0585d307d5595bc3850ca82233bdb2d6ae662ac96d1e636ccbc51055/69" data-source="git-rebase - Reapply commits on top of another base tip" onmousemove="i18n(this)">git-rebase &mdash; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &bcy;&acy;&zcy;&ocy;&vcy;&ocy;&jcy; &pcy;&ocy;&dcy;&scy;&kcy;&acy;&zcy;&kcy;&icy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-scss">git rebase <span class="hljs-selector-attr">[-i | --interactive]</span> <span class="hljs-selector-attr">[&lt;options&gt;]</span> <span class="hljs-selector-attr">[--exec &lt;cmd&gt;]</span>
        <span class="hljs-selector-attr">[--onto &lt;newbase&gt; | --keep-base]</span> <span class="hljs-selector-attr">[&lt;upstream&gt; [&lt;branch&gt;]</span>]
git rebase <span class="hljs-selector-attr">[-i | --interactive]</span> <span class="hljs-selector-attr">[&lt;options&gt;]</span> <span class="hljs-selector-attr">[--exec &lt;cmd&gt;]</span> <span class="hljs-selector-attr">[--onto &lt;newbase&gt;]</span>
        <span class="hljs-attr">--root</span> <span class="hljs-selector-attr">[&lt;branch&gt;]</span>
git rebase (--continue | --skip | --abort | --quit | --edit-todo | --show-current-patch)</pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="aa3529597d74479e520831fbfefcab5b9753e94a15edd2a7e17aec99bab52f80/58" data-source="If &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt; is specified, &lt;code&gt;git rebase&lt;/code&gt; will perform an automatic &lt;code&gt;git switch &amp;lt;branch&amp;gt;&lt;/code&gt; before doing anything else. Otherwise it remains on the current branch." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>&lt;branch&gt;</code> ,  <code>git rebase</code>  &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;  <code>git switch &lt;branch&gt;</code> , &pcy;&rcy;&iecy;&zhcy;&dcy;&iecy; &chcy;&iecy;&mcy; &dcy;&iecy;&lcy;&acy;&tcy;&softcy; &chcy;&tcy;&ocy;-&lcy;&icy;&bcy;&ocy; &iecy;&shchcy;&iecy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ocy;&ncy; &ocy;&scy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;.</span></p> <p><span data-i18n="c5f99991f51d3f4847268892f7f2f4f0b17eecbdafc577ad438ca989f550ea24/17" data-source="If &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; is not specified, the upstream configured in &lt;code&gt;branch.&amp;lt;name&amp;gt;.remote&lt;/code&gt; and &lt;code&gt;branch.&amp;lt;name&amp;gt;.merge&lt;/code&gt; options will be used (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; for details) and the &lt;code&gt;--fork-point&lt;/code&gt; option is assumed. If you are currently not on any branch or if the current branch does not have a configured upstream, the rebase will abort." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy;  <code>&lt;upstream&gt;</code>  &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;, &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &kcy;&acy;&ncy;&acy;&lcy;, &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ycy;&jcy; &vcy; &ocy;&pcy;&tscy;&icy;&yacy;&khcy;  <code>branch.&lt;name&gt;.remote</code>  &icy;  <code>branch.&lt;name&gt;.merge</code>  (&pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="git-config.html">git-config[1]</a> ), &icy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;  <code>--fork-point</code> . &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &vcy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy; &ncy;&iecy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&iecy;&scy;&softcy; &ncy;&icy; &vcy; &ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy; &icy;&lcy;&icy; &iecy;&scy;&lcy;&icy; &tcy;&iecy;&kcy;&ucy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&tcy;&ocy;&kcy;&acy;, &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&iecy;&rcy;&vcy;&acy;&ncy;&ocy;.</span></p> <p><span data-i18n="0f44c56e471ffe65c7ce6188a0fd29008ef730299dab25db826d1f270be49173/8a" data-source="All changes made by commits in the current branch but that are not in &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; are saved to a temporary area. This is the same set of commits that would be shown by &lt;code&gt;git log &amp;lt;upstream&amp;gt;..HEAD&lt;/code&gt;; or by &lt;code&gt;git log &amp;apos;fork_point&amp;apos;..HEAD&lt;/code&gt;, if &lt;code&gt;--fork-point&lt;/code&gt; is active (see the description on &lt;code&gt;--fork-point&lt;/code&gt; below); or by &lt;code&gt;git log HEAD&lt;/code&gt;, if the &lt;code&gt;--root&lt;/code&gt; option is specified." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;, &ncy;&ocy; &ncy;&iecy; &vcy;  <code>&lt;upstream&gt;</code> , &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&icy;. &Ecy;&tcy;&ocy; &tcy;&ocy;&tcy; &zhcy;&iecy; &ncy;&acy;&bcy;&ocy;&rcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&ocy;&kcy;&acy;&zcy;&acy;&ncy;  <code>git log &lt;upstream&gt;..HEAD</code> ; &icy;&lcy;&icy;  <code>git log &apos;fork_point&apos;..HEAD</code>  , &iecy;&scy;&lcy;&icy;  <code>--fork-point</code>  &acy;&kcy;&tcy;&icy;&vcy;&iecy;&ncy; (&scy;&mcy;. &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&iecy;  <code>--fork-point</code>  &ncy;&icy;&zhcy;&iecy;); &icy;&lcy;&icy;  <code>git log HEAD</code> , &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--root</code> .</span></p> <p><span data-i18n="c7f05b8155965cbb1f51fae8f387d5912420928c494907fc11bfec466bdab10c/f5" data-source="The current branch is reset to &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;newbase&amp;gt;&lt;/code&gt; if the &lt;code&gt;--onto&lt;/code&gt; option was supplied. This has the exact same effect as &lt;code&gt;git reset --hard &amp;lt;upstream&amp;gt;&lt;/code&gt; (or &lt;code&gt;&amp;lt;newbase&amp;gt;&lt;/code&gt;). &lt;code&gt;ORIG_HEAD&lt;/code&gt; is set to point at the tip of the branch before the reset." onmousemove="i18n(this)">&Tcy;&iecy;&kcy;&ucy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &scy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&acy;  <code>&lt;upstream&gt;</code>  &icy;&lcy;&icy;  <code>&lt;newbase&gt;</code> , &iecy;&scy;&lcy;&icy; &bcy;&ycy;&lcy;&acy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--onto</code> . &Ecy;&tcy;&ocy; &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&ocy;&tcy; &zhcy;&iecy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;, &chcy;&tcy;&ocy; &icy;  <code>git reset --hard &lt;upstream&gt;</code>  (&icy;&lcy;&icy;  <code>&lt;newbase&gt;</code> ). &Pcy;&iecy;&rcy;&iecy;&dcy; &scy;&bcy;&rcy;&ocy;&scy;&ocy;&mcy;  <code>ORIG_HEAD</code>  &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy; &ncy;&acy; &kcy;&ocy;&ncy;&chcy;&icy;&kcy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> <div> <div class="table-responsive"><table class="table"> <tr> <td> <div><span data-i18n="d8da2c49df39d91df7ecd199b92da7bf264f026242ccc69b08daeadfe587c45b/a2" data-source="Note" onmousemove="i18n(this)">Note</span></div> </td> <td> <span data-i18n="91a1b4c15dd7c1ecdfadbff37ab93e96be75564fc8e7a167e2728061d1f959b5/3f" data-source="&lt;code&gt;ORIG_HEAD&lt;/code&gt; is not guaranteed to still point to the previous branch tip at the end of the rebase if other commands that write that pseudo-ref (e.g. &lt;code&gt;git reset&lt;/code&gt;) are used during the rebase. The previous branch tip, however, is accessible using the reflog of the current branch (i.e. &lt;code&gt;@{1}&lt;/code&gt;, see &lt;a href=&quot;gitrevisions&quot;&gt;gitrevisions[7]&lt;/a&gt;)." onmousemove="i18n(this)"><code>ORIG_HEAD</code>  &ncy;&iecy; &gcy;&acy;&rcy;&acy;&ncy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ocy;&ncy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &bcy;&ucy;&dcy;&iecy;&tcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy; &ncy;&acy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&rcy;&shcy;&icy;&ncy;&ucy; &vcy;&iecy;&tcy;&kcy;&icy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;, &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&iecy; &ecy;&tcy;&ucy; &pcy;&scy;&iecy;&vcy;&dcy;&ocy;-&scy;&scy;&ycy;&lcy;&kcy;&ucy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>git reset</code> ). &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&iecy;&jcy; &pcy;&ocy;&dcy;&scy;&kcy;&acy;&zcy;&kcy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; (&tcy;. &iecy;.  <code>@{1}</code> , &scy;&mcy;.  <a href="gitrevisions.html">gitrevisions[7]</a> ).</span></td> </tr> </table></div> </div> <p><span data-i18n="998666c8cdf2757583bed547b7befc67d948ff01ba1b6ea7c0f58b744452bd7c/1f" data-source="The commits that were previously saved into the temporary area are then reapplied to the current branch, one by one, in order. Note that any commits in &lt;code&gt;HEAD&lt;/code&gt; which introduce the same textual changes as a commit in &lt;code&gt;HEAD..&amp;lt;upstream&amp;gt;&lt;/code&gt; are omitted (i.e., a patch already accepted upstream with a different commit message or timestamp will be skipped)." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &rcy;&acy;&ncy;&iecy;&iecy; &bcy;&ycy;&lcy;&icy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&iecy;&ncy;&ycy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&icy;, &zcy;&acy;&tcy;&iecy;&mcy; &pcy;&ocy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&ucy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &kcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &lcy;&yucy;&bcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &vcy;  <code>HEAD</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ncy;&ocy;&scy;&yacy;&tcy; &tcy;&iecy; &zhcy;&iecy; &tcy;&iecy;&kcy;&scy;&tcy;&ocy;&vcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &chcy;&tcy;&ocy; &icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &vcy;  <code>HEAD..&lt;upstream&gt;</code> , &ocy;&pcy;&ucy;&scy;&kcy;&acy;&yucy;&tcy;&scy;&yacy; (&tcy;. &iecy;. &pcy;&acy;&tcy;&chcy;, &ucy;&zhcy;&iecy; &pcy;&rcy;&icy;&ncy;&yacy;&tcy;&ycy;&jcy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &kcy;&ocy;&dcy;&iecy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;&mcy; &ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy; &icy;&lcy;&icy; &ocy;&tcy;&mcy;&iecy;&tcy;&kcy;&ocy;&jcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy;, &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&ocy;&pcy;&ucy;&shchcy;&iecy;&ncy;).</span></p> <p><span data-i18n="3bbb0df026459f66ab4eb3e8f33a1ec30bdef851e00835a26902111e1203cf84/76" data-source="It is possible that a merge failure will prevent this process from being completely automatic. You will have to resolve any such merge failure and run &lt;code&gt;git rebase --continue&lt;/code&gt;. Another option is to bypass the commit that caused the merge failure with &lt;code&gt;git rebase --skip&lt;/code&gt;. To check out the original &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt; and remove the &lt;code&gt;.git/rebase-apply&lt;/code&gt; working files, use the command &lt;code&gt;git rebase --abort&lt;/code&gt; instead." onmousemove="i18n(this)">&Vcy;&pcy;&ocy;&lcy;&ncy;&iecy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &chcy;&tcy;&ocy; &ocy;&shcy;&icy;&bcy;&kcy;&acy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&ocy;&mcy;&iecy;&shcy;&acy;&iecy;&tcy; &ecy;&tcy;&ocy;&mcy;&ucy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&ucy; &scy;&tcy;&acy;&tcy;&softcy; &pcy;&ocy;&lcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&mcy;. &Vcy;&acy;&mcy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &ucy;&scy;&tcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &lcy;&yucy;&bcy;&ucy;&yucy; &tcy;&acy;&kcy;&ucy;&yucy; &ZeroWidthSpace;&ZeroWidthSpace;&ocy;&shcy;&icy;&bcy;&kcy;&ucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy;  <code>git rebase --continue</code> . &Dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &mdash; &ocy;&bcy;&ocy;&jcy;&tcy;&icy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy;, &vcy;&ycy;&zcy;&vcy;&acy;&vcy;&shcy;&ucy;&yucy; &scy;&bcy;&ocy;&jcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy;  <code>git rebase --skip</code> . &CHcy;&tcy;&ocy;&bcy;&ycy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&softcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy;  <code>&lt;branch&gt;</code>  &icy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;  <code>.git/rebase-apply</code> , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  <code>git rebase --abort</code> .</span></p> <p><span data-i18n="4ed309032791cf79e983d9f17a0eb74726fa844fdb244c47d2ae74ab26dc270b/cc" data-source="Assume the following history exists and the current branch is &amp;quot;topic&amp;quot;:" onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&acy;&yacy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy; &icy; &tcy;&iecy;&kcy;&ucy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy; &mdash;  &quot;topic&quot; :</span></p> <div> <div> <pre class="hljs language-css">          <span class="hljs-selector-tag">A</span>-<span class="hljs-attr">--B---C</span> topic
         /
    D-<span class="hljs-attr">--E---F---G</span> master</pre> </div> </div> <p><span data-i18n="abb640814b7b2c93660892d277743fa5053b9a734aa9e8a6ece0c42fcabfa46e/c7" data-source="From this point, the result of either of the following commands:" onmousemove="i18n(this)">&Scy; &ecy;&tcy;&ocy;&gcy;&ocy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy;&acy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &lcy;&yucy;&bcy;&ocy;&jcy; &icy;&zcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;:</span></p> <div> <div> <pre class="hljs language-undefined">git rebase master
git rebase master topic</pre> </div> </div> <p><span data-i18n="08a01e2b5015bfa2804030140d560b57c852edd757e581b84ecf8b87d73e55ca/c7" data-source="would be:" onmousemove="i18n(this)">would be:</span></p> <div> <div> <pre class="hljs language-lua">                  A<span class="hljs-string">&apos;--B&apos;</span><span class="hljs-comment">--C&apos; topic</span>
                 /
    D<span class="hljs-comment">---E---F---G master</span></pre> </div> </div> <p><span data-i18n="ab1ab48fc9ab4d8662992a2f86efc3f4e5f2467eb8672d1929d3ee829b0765df/25" data-source="&lt;strong&gt;NOTE:&lt;/strong&gt; The latter form is just a short-hand of &lt;code&gt;git checkout topic&lt;/code&gt; followed by &lt;code&gt;git rebase master&lt;/code&gt;. When rebase exits &lt;code&gt;topic&lt;/code&gt; will remain the checked-out branch." onmousemove="i18n(this)">&Pcy;&Rcy;&Icy;&Mcy;&IEcy;&CHcy;&Acy;&Ncy;&Icy;&IEcy;. &Pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&yacy;&yacy; &fcy;&ocy;&rcy;&mcy;&acy; &mdash; &ecy;&tcy;&ocy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy;&tcy;  <code>git checkout topic</code> , &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy;  <code>git rebase master</code> . &Pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;  <code>topic</code>  &ocy;&scy;&tcy;&acy;&ncy;&iecy;&tcy;&scy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy;.</span></p> <p><span data-i18n="49e39431c10b347865c380897ab82fe7df2258a2022b952b73bf2314d6148ac5/ff" data-source="If the upstream branch already contains a change you have made (e.g., because you mailed a patch which was applied upstream), then that commit will be skipped and warnings will be issued (if the &lt;code&gt;merge&lt;/code&gt; backend is used). For example, running &lt;code&gt;git rebase master&lt;/code&gt; on the following history (in which &lt;code&gt;A&amp;apos;&lt;/code&gt; and &lt;code&gt;A&lt;/code&gt; introduce the same set of changes, but have different committer information):" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &ucy;&zhcy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy;&acy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ocy;&tcy;&ocy;&mcy;&ucy; &chcy;&tcy;&ocy; &vcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&icy; &pcy;&ocy; &pcy;&ocy;&chcy;&tcy;&iecy; &pcy;&acy;&tcy;&chcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ycy;&lcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy; &kcy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;), &tcy;&ocy; &ecy;&tcy;&ocy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&ocy;&pcy;&ucy;&shchcy;&iecy;&ncy; &icy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&dcy;&acy;&ncy;&ycy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; (&iecy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code> ). &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &zcy;&acy;&pcy;&ucy;&scy;&kcy;  <code>git rebase master</code>  &vcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; (&vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy;  <code>A&apos;</code>  &icy;  <code>A</code>  &vcy;&ncy;&ocy;&scy;&yacy;&tcy; &ocy;&dcy;&icy;&ncy; &icy; &tcy;&ocy;&tcy; &zhcy;&iecy; &ncy;&acy;&bcy;&ocy;&rcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &ncy;&ocy; &icy;&mcy;&iecy;&yucy;&tcy; &rcy;&acy;&zcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&iecy;):</span></p> <div> <div> <pre class="hljs language-lua">          A<span class="hljs-comment">---B---C topic</span>
         /
    D<span class="hljs-comment">---E---A&apos;---F master</span></pre> </div> </div> <p><span data-i18n="55d6d7917db0c56ad1505465f9c69f551a0f0d4662a8f62220cb946c8dad2ea6/7e" data-source="will result in:" onmousemove="i18n(this)">&pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy;:</span></p> <div> <div> <pre class="hljs language-lua">                   B<span class="hljs-string">&apos;---C&apos;</span> topic
                  /
    D<span class="hljs-comment">---E---A&apos;---F master</span></pre> </div> </div> <p><span data-i18n="cef4a3da1d46f1523c0bb65cfdad24611d77a1ec6215f1c99713b4824468b875/55" data-source="Here is how you would transplant a topic branch based on one branch to another, to pretend that you forked the topic branch from the latter branch, using &lt;code&gt;rebase --onto&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&ocy;&tcy; &kcy;&acy;&kcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&scy;&acy;&dcy;&icy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy;, &ocy;&scy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ucy;&yucy; &ncy;&acy; &ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;, &vcy; &dcy;&rcy;&ucy;&gcy;&ucy;&yucy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&icy;&tcy;&vcy;&ocy;&rcy;&icy;&tcy;&softcy;&scy;&yacy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ocy;&tcy;&dcy;&iecy;&lcy;&icy;&lcy;&icy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy; &ocy;&tcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy;  <code>rebase --onto</code>  .</span></p> <p><span data-i18n="143798051c574820dec9a718cb5ea2ed357ed10eaf59c578322408dc9c149b40/2c" data-source="First let&amp;rsquo;s assume your &lt;code&gt;topic&lt;/code&gt; is based on branch &lt;code&gt;next&lt;/code&gt;. For example, a feature developed in &lt;code&gt;topic&lt;/code&gt; depends on some functionality which is found in &lt;code&gt;next&lt;/code&gt;." onmousemove="i18n(this)">&Scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &chcy;&tcy;&ocy; &vcy;&acy;&shcy;  <code>topic</code>  &ocy;&scy;&ncy;&ocy;&vcy;&acy;&ncy; &ncy;&acy; &vcy;&iecy;&tcy;&kcy;&iecy;  <code>next</code> . &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yacy;, &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ncy;&acy;&yacy; &vcy;  <code>topic</code> , &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&ocy;&ncy;&acy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy;, &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &vcy;  <code>next</code> .</span></p> <div> <div> <pre class="hljs language-css">    o-<span class="hljs-attr">--o---o---o---o</span>  master
         \
          o-<span class="hljs-attr">--o---o---o---o</span>  next
                           \
                            o-<span class="hljs-attr">--o---o</span>  topic</pre> </div> </div> <p><span data-i18n="a740ffec768bbc045e6e9fa132ffe36619e9a3c884264b21d3797b388afbc5da/30" data-source="We want to make &lt;code&gt;topic&lt;/code&gt; forked from branch &lt;code&gt;master&lt;/code&gt;; for example, because the functionality on which &lt;code&gt;topic&lt;/code&gt; depends was merged into the more stable &lt;code&gt;master&lt;/code&gt; branch. We want our tree to look like this:" onmousemove="i18n(this)">&Mcy;&ycy; &khcy;&ocy;&tcy;&icy;&mcy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy;  <code>topic</code>  &ocy;&tcy;&vcy;&iecy;&tcy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;&mcy; &ocy;&tcy; &vcy;&iecy;&tcy;&kcy;&icy;  <code>master</code> ; &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ocy;&tcy;&ocy;&mcy;&ucy; &chcy;&tcy;&ocy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&ocy;&ncy;&acy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&softcy;, &ocy;&tcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy;  <code>topic</code> , &bcy;&ycy;&lcy;&acy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&acy; &vcy; &bcy;&ocy;&lcy;&iecy;&iecy; &scy;&tcy;&acy;&bcy;&icy;&lcy;&softcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>master</code> . &Mcy;&ycy; &khcy;&ocy;&tcy;&icy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&shcy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&iecy;&lcy;&ocy; &tcy;&acy;&kcy;:</span></p> <div> <div> <pre class="hljs language-lua">    o<span class="hljs-comment" title="---o---o---o---o  master">---&ocy;---&ocy;---&ocy;---&ocy; &khcy;&ocy;&zcy;&yacy;&icy;&ncy;</span>
        |            \
        |             o<span class="hljs-string">&apos;--o&apos;</span><span class="hljs-comment" title="--o&apos;  topic">--o&apos; &tcy;&iecy;&mcy;&acy;</span>
         \
          o<span class="hljs-comment" title="---o---o---o---o  next">---&ocy;---&ocy;---&ocy;---&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy;</span></pre> </div> </div> <p><span data-i18n="a083b66105158ab91e0aed42e1e74a7a7a44ed342fb5c5ca445165231a817092/dd" data-source="We can get this using the following command:" onmousemove="i18n(this)">&Mcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&mcy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&ucy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;:</span></p> <div> <div> <pre class="hljs language-css">git rebase <span class="hljs-attr">--onto</span> master next topic</pre> </div> </div> <p><span data-i18n="a0256a4d4f23079cfe47fe509924c53a0d660b2fc27d3de5fea75e2d83ccc75d/13" data-source="Another example of --onto option is to rebase part of a branch. If we have the following situation:" onmousemove="i18n(this)">&Dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy; &ocy;&pcy;&tscy;&icy;&icy; --onto &mdash; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &chcy;&acy;&scy;&tcy;&icy; &vcy;&iecy;&tcy;&kcy;&icy;. &IEcy;&scy;&lcy;&icy; &ucy; &ncy;&acy;&scy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&acy;&yacy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yacy;:</span></p> <div> <div> <pre class="hljs language-css">                            H-<span class="hljs-attr">--I---J</span> topicB
                           /
                  E-<span class="hljs-attr">--F---G</span>  topicA
                 /
    <span class="hljs-selector-tag">A</span>-<span class="hljs-attr">--B---C---D</span>  master</pre> </div> </div> <p><span data-i18n="27aa0c782921e767ef2db0f87c1cd71ec337ae15599e119044407e3bba6f793a/93" data-source="then the command" onmousemove="i18n(this)">&zcy;&acy;&tcy;&iecy;&mcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;</span></p> <div> <div> <pre class="hljs language-css">git rebase <span class="hljs-attr">--onto</span> master topicA topicB</pre> </div> </div> <p><span data-i18n="45075e5b1f3a38cceb79b145441ebb262873e4980ea239a7d9746844ffb26890/5e" data-source="would result in:" onmousemove="i18n(this)">&pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy;:</span></p> <div> <div> <pre class="hljs language-lua">                 H<span class="hljs-string">&apos;--I&apos;</span><span class="hljs-comment" title="--J&apos;  topicB">--J&apos; &tcy;&iecy;&mcy;&acy;&Bcy;</span>
                /
                | E<span class="hljs-comment" title="---F---G  topicA">---F---G &tcy;&iecy;&mcy;&acy;&Acy;</span>
                |/
    A<span class="hljs-comment" title="---B---C---D  master">---B---C---D &mcy;&acy;&scy;&tcy;&iecy;&rcy;</span></pre> </div> </div> <p><span data-i18n="f1ab280d5c5dcf697dd1232b667a7d7bd2d318a4778df1abd9ecd7918fcbf99a/b7" data-source="This is useful when topicB does not depend on topicA." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &kcy;&ocy;&gcy;&dcy;&acy; &tcy;&iecy;&mcy;&acy; B &ncy;&iecy; &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &tcy;&iecy;&mcy;&ycy; A.</span></p> <p><span data-i18n="4d56e72c583461e45255a21f1c42c503b954043aa37b1774fcfd49b0ae1884bd/e1" data-source="A range of commits could also be removed with rebase. If we have the following situation:" onmousemove="i18n(this)">&Rcy;&yacy;&dcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; rebase. &IEcy;&scy;&lcy;&icy; &ucy; &ncy;&acy;&scy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&acy;&yacy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yacy;:</span></p> <div> <div> <pre class="hljs language-css">    E-<span class="hljs-attr">--F---G---H---I---J</span>  topicA</pre> </div> </div> <p><span data-i18n="27aa0c782921e767ef2db0f87c1cd71ec337ae15599e119044407e3bba6f793a/93" data-source="then the command" onmousemove="i18n(this)">&zcy;&acy;&tcy;&iecy;&mcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;</span></p> <div> <div> <pre class="hljs language-css">git rebase <span class="hljs-attr">--onto</span> topicA~<span class="hljs-number">5</span> topicA~<span class="hljs-number">3</span> topicA</pre> </div> </div> <p><span data-i18n="59d190fa235848e1891e92d9ae76393f2f7c180f011ddb319131f0c8d83e7a45/c3" data-source="would result in the removal of commits F and G:" onmousemove="i18n(this)">&pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; F &icy; G:</span></p> <div> <div> <pre class="hljs language-bash">    E---H<span class="hljs-string">&apos;---I&apos;</span>---J<span class="hljs-string">&apos;  topicA</span></pre> </div> </div> <p><span data-i18n="a77c1f13689e6a89599c3b1bfcbe342e6190af692bd2325cebc06112e2304a40/85" data-source="This is useful if F and G were flawed in some way, or should not be part of topicA. Note that the argument to &lt;code&gt;--onto&lt;/code&gt; and the &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; parameter can be any valid commit-ish." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; F &icy; G &bcy;&ycy;&lcy;&icy; &kcy;&acy;&kcy;&icy;&mcy;-&tcy;&ocy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy; &ocy;&shcy;&icy;&bcy;&ocy;&chcy;&ncy;&ycy; &icy;&lcy;&icy; &ncy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &chcy;&acy;&scy;&tcy;&softcy;&yucy; &tcy;&iecy;&mcy;&ycy; A. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&mcy;  <code>--onto</code>  &icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&mcy;  <code>&lt;upstream&gt;</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &lcy;&yucy;&bcy;&acy;&yacy; &dcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&mcy;&acy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;.</span></p> <p><span data-i18n="93a811ff772d38037022559bb19a27b364548b5050e57bad7b05261549a9f555/cf" data-source="In case of conflict, &lt;code&gt;git rebase&lt;/code&gt; will stop at the first problematic commit and leave conflict markers in the tree. You can use &lt;code&gt;git diff&lt;/code&gt; to locate the markers (&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;) and make edits to resolve the conflict. For each file you edit, you need to tell Git that the conflict has been resolved, typically this would be done with" onmousemove="i18n(this)">&Vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy;  <code>git rebase</code>  &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy; &ncy;&acy; &pcy;&iecy;&rcy;&vcy;&ocy;&jcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ncy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy; &ocy;&scy;&tcy;&acy;&vcy;&icy;&tcy; &mcy;&acy;&rcy;&kcy;&iecy;&rcy;&ycy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &vcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>git diff</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&jcy;&tcy;&icy; &mcy;&acy;&rcy;&kcy;&iecy;&rcy;&ycy; (&lt;&lt;&lt;&lt;&lt;&lt;) &icy; &vcy;&ncy;&iecy;&scy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy;. &Dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;&iecy;, &vcy;&acy;&mcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&softcy;  Git , &chcy;&tcy;&ocy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;. &Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ecy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;</span></p> <div> <div> <pre class="hljs language-csharp">git <span class="hljs-keyword">add</span> &lt;filename&gt;</pre> </div> </div> <p><span data-i18n="705222c07fc2dbd3a7376fd4160045b8c4473b4ef52f7e209efe658fac90ce8b/cb" data-source="After resolving the conflict manually and updating the index with the desired resolution, you can continue the rebasing process with" onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &dcy;&ocy; &zhcy;&iecy;&lcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&softcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;</span></p> <div> <div> <pre class="hljs language-kotlin">git rebase --<span class="hljs-keyword">continue</span></pre> </div> </div> <p><span data-i18n="9d50439595c560e976c13eec0e519eded693a98dfe02470c4653c40521962e86/79" data-source="Alternatively, you can undo the &lt;code&gt;git rebase&lt;/code&gt; with" onmousemove="i18n(this)">&Acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ocy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;  <code>git rebase</code>  &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;</span></p> <div> <div> <pre class="hljs language-css">git rebase <span class="hljs-attr">--abort</span></pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_mode_options"><span data-i18n="fe538a73377d1af42e9ba031bd61d813a80e5ebeef8ee1e132d0e2c8fb18d2ed/8d" data-source="Mode options" onmousemove="i18n(this)">Mode options</span></h2> <div> <p><span data-i18n="6cbe340f10d38f31f5b3add12bf9e59ba54cf41a38e98b0946d1e6d8f4e97963/09" data-source="The options in this section cannot be used with any other option, including not with each other:" onmousemove="i18n(this)">&Pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &ncy;&iecy;&lcy;&softcy;&zcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ncy;&icy; &scy; &kcy;&acy;&kcy;&icy;&mcy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&mcy;, &vcy; &tcy;&ocy;&mcy; &chcy;&icy;&scy;&lcy;&iecy; &dcy;&rcy;&ucy;&gcy; &scy; &dcy;&rcy;&ucy;&gcy;&ocy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt---continue"><span data-i18n="a06a8ce6e8eddeea26bb4ce1a5233519275843923fd9619cbd7927cc69da5eb1/28" data-source="--continue" onmousemove="i18n(this)">--continue</span></dt> <dd> <p><span data-i18n="8e7f1b3f213bfdd575bf7a49d6465c045081bf77a621cfa38ec2af7ef0481528/e2" data-source="Restart the rebasing process after having resolved a merge conflict." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---skip"><span data-i18n="142b6595e1235637a0b29a91970a8847aab333d1aa6ebb6349ec8d32fe2026b0/08" data-source="--skip" onmousemove="i18n(this)">--skip</span></dt> <dd> <p><span data-i18n="429f8bd0e8f083a3fad67208f80014ba3368268b3ab018e9024034278a88ca5d/54" data-source="Restart the rebasing process by skipping the current patch." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &pcy;&acy;&tcy;&chcy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---abort"><span data-i18n="eea83aeda8cb36a95998ab5eb77be727f99e98311c29a90c13df34ee87991d66/7a" data-source="--abort" onmousemove="i18n(this)">--abort</span></dt> <dd> <p><span data-i18n="ff8cf673b984848e8f59692fe8fabe79626d988934c53eb158613ed352b8ca49/ff" data-source="Abort the rebase operation and reset HEAD to the original branch. If &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt; was provided when the rebase operation was started, then &lt;code&gt;HEAD&lt;/code&gt; will be reset to &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt;. Otherwise &lt;code&gt;HEAD&lt;/code&gt; will be reset to where it was when the rebase operation was started." onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&rcy;&vcy;&icy;&tcy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yucy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy; &scy;&bcy;&rcy;&ocy;&scy;&softcy;&tcy;&iecy; HEAD &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;. &IEcy;&scy;&lcy;&icy;  <code>&lt;branch&gt;</code>  &bcy;&ycy;&lcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &pcy;&rcy;&icy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &tcy;&ocy;  <code>HEAD</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&bcy;&rcy;&ocy;&shcy;&iecy;&ncy; &dcy;&ocy;  <code>&lt;branch&gt;</code> . &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;  <code>HEAD</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&bcy;&rcy;&ocy;&shcy;&iecy;&ncy; &tcy;&ucy;&dcy;&acy;, &gcy;&dcy;&iecy; &ocy;&ncy; &bcy;&ycy;&lcy; &pcy;&rcy;&icy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---quit"><span data-i18n="df2c6d5508e1f0a2315e06c6032b8bc76b6e828bc56bbab66d89ec4f71d10f29/e5" data-source="--quit" onmousemove="i18n(this)">--quit</span></dt> <dd> <p><span data-i18n="9925892d12200e1d7f139cd4cd7d425e251b980d533c43dbad9b799593e34413/b1" data-source="Abort the rebase operation but &lt;code&gt;HEAD&lt;/code&gt; is not reset back to the original branch. The index and working tree are also left unchanged as a result. If a temporary stash entry was created using &lt;code&gt;--autostash&lt;/code&gt;, it will be saved to the stash list." onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&rcy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yucy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &ncy;&ocy;  <code>HEAD</code>  &ncy;&iecy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;. &Vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&scy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy;. &IEcy;&scy;&lcy;&icy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &tcy;&acy;&jcy;&ncy;&icy;&kcy;&acy; &bcy;&ycy;&lcy;&acy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&acy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--autostash</code> , &ocy;&ncy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&iecy;&ncy;&acy; &vcy; &scy;&pcy;&icy;&scy;&kcy;&iecy; &tcy;&acy;&jcy;&ncy;&icy;&kcy;&acy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---edit-todo"><span data-i18n="d6e13fc55e1232132c8cbc52287e36c02efe8aaf6bf71bf24395902d02e5dc8f/d5" data-source="--edit-todo" onmousemove="i18n(this)">--edit-todo</span></dt> <dd> <p><span data-i18n="61cdeafbd02f61a340b076ce9d2346affa6a21badc283ec737c358cd06d57caa/41" data-source="Edit the todo list during an interactive rebase." onmousemove="i18n(this)">&Ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &dcy;&iecy;&lcy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---show-current-patch"><span data-i18n="395f1bbd602909048ace9a60f25171f3da309a1cee4e2f24e7aab75989f1dbef/c7" data-source="--show-current-patch" onmousemove="i18n(this)">--show-current-patch</span></dt> <dd> <p><span data-i18n="3a9d0170aca6ea02dcfdc638240336bbc5db4dc3b6f1b47687eb47f711fe4ed4/4c" data-source="Show the current patch in an interactive rebase or when rebase is stopped because of conflicts. This is the equivalent of &lt;code&gt;git show REBASE_HEAD&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &pcy;&acy;&tcy;&chcy; &pcy;&rcy;&icy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &icy;&lcy;&icy; &kcy;&ocy;&gcy;&dcy;&acy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &icy;&zcy;-&zcy;&acy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy;. &Ecy;&tcy;&ocy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;  <code>git show REBASE_HEAD</code> .</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-rebase.txt---ontoltnewbasegt"><span data-i18n="d505180583162a34cc435c89447a1baf2b77dd1461fac0789f8477a91bcd8d5c/a0" data-source="--onto &amp;lt;newbase&amp;gt;" onmousemove="i18n(this)">--onto &lt;newbase&gt;</span></dt> <dd> <p><span data-i18n="aa604762483d57e548e3bcbbd04d6e372ab21735cbfbfefff3085616ca27e478/3d" data-source="Starting point at which to create the new commits. If the &lt;code&gt;--onto&lt;/code&gt; option is not specified, the starting point is &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt;. May be any valid commit, and not just an existing branch name." onmousemove="i18n(this)">&Ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&acy;&yacy; &tcy;&ocy;&chcy;&kcy;&acy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &IEcy;&scy;&lcy;&icy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--onto</code>  &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy;, &ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &tcy;&ocy;&chcy;&kcy;&ocy;&jcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  <code>&lt;upstream&gt;</code> . &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &lcy;&yucy;&bcy;&ocy;&jcy; &dcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&mcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &acy; &ncy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&iecy; &icy;&mcy;&yacy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> <p><span data-i18n="ed3ed4929479dc71cdb088f56476158c8a4c2ba9361a446f25165ea4155a1a8e/67" data-source="As a special case, you may use &amp;quot;A...B&amp;quot; as a shortcut for the merge base of A and B if there is exactly one merge base. You can leave out at most one of A and B, in which case it defaults to HEAD." onmousemove="i18n(this)">&Vcy; &chcy;&acy;&scy;&tcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  &quot;A...B&quot;  &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &yacy;&rcy;&lcy;&ycy;&kcy;&acy; &dcy;&lcy;&yacy; &bcy;&acy;&zcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; A &icy; B, &iecy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &rcy;&ocy;&vcy;&ncy;&ocy; &ocy;&dcy;&ncy;&acy; &bcy;&acy;&zcy;&acy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &ncy;&iecy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &icy;&zcy; A &icy; B, &icy; &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; HEAD.</span></p> </dd> <dt id="Documentation/git-rebase.txt---keep-base"><span data-i18n="b8faf7efae83441a42764b49edcf9be29e3ecc37d5acc45982613347adb4b9f1/0c" data-source="--keep-base" onmousemove="i18n(this)">--keep-base</span></dt> <dd> <p><span data-i18n="3278bd3e625bd89a830472aaf716a4ddbfaf382162263c0b2b4e7104cf58cd0d/27" data-source="Set the starting point at which to create the new commits to the merge base of &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt;. Running &lt;code&gt;git rebase --keep-base &amp;lt;upstream&amp;gt; &amp;lt;branch&amp;gt;&lt;/code&gt; is equivalent to running &lt;code&gt;git rebase --reapply-cherry-picks --no-fork-point --onto &amp;lt;upstream&amp;gt;...&amp;lt;branch&amp;gt; &amp;lt;upstream&amp;gt; &amp;lt;branch&amp;gt;&lt;/code&gt;." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&ncy;&ucy;&yucy; &tcy;&ocy;&chcy;&kcy;&ucy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &dcy;&lcy;&yacy; &bcy;&acy;&zcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;  <code>&lt;upstream&gt;</code>  &icy;  <code>&lt;branch&gt;</code> . &Zcy;&acy;&pcy;&ucy;&scy;&kcy;  <code>git rebase --keep-base &lt;upstream&gt; &lt;branch&gt;</code>  &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&iecy;&ncy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&ucy;  <code>git rebase --reapply-cherry-picks --no-fork-point --onto &lt;upstream&gt;...&lt;branch&gt; &lt;upstream&gt; &lt;branch&gt;</code> .</span></p> <p><span data-i18n="830dd3ad608451524ad8a16c39063a10c8d272878bc12500e8c81b2e3e0b2397/e7" data-source="This option is useful in the case where one is developing a feature on top of an upstream branch. While the feature is being worked on, the upstream branch may advance and it may not be the best idea to keep rebasing on top of the upstream but to keep the base commit as-is. As the base commit is unchanged this option implies &lt;code&gt;--reapply-cherry-picks&lt;/code&gt; to avoid losing commits." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&acy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &kcy;&ocy;&gcy;&dcy;&acy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yacy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;. &Pcy;&ocy;&kcy;&acy; &ecy;&tcy;&acy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yacy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&iecy;, &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &rcy;&acy;&zcy;&vcy;&icy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;, &icy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &ncy;&iecy; &lcy;&ucy;&chcy;&shcy;&iecy;&jcy; &icy;&dcy;&iecy;&iecy;&jcy;, &acy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&tcy;&softcy; &bcy;&acy;&zcy;&ocy;&vcy;&ucy;&yucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &kcy;&acy;&kcy; &iecy;&scy;&tcy;&softcy;. &Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &bcy;&acy;&zcy;&ocy;&vcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &ncy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&scy;&yacy;, &ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;  <code>--reapply-cherry-picks</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &pcy;&ocy;&tcy;&iecy;&rcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;.</span></p> <p><span data-i18n="8a03352d81f5d0f9fd259c3c3e673628d54c22acf48eb525c331a2445702f8bb/86" data-source="Although both this option and &lt;code&gt;--fork-point&lt;/code&gt; find the merge base between &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt;, this option uses the merge base as the &lt;code&gt;starting point&lt;/code&gt; on which new commits will be created, whereas &lt;code&gt;--fork-point&lt;/code&gt; uses the merge base to determine the &lt;code&gt;set of commits&lt;/code&gt; which will be rebased." onmousemove="i18n(this)">&KHcy;&ocy;&tcy;&yacy; &icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;, &icy;  <code>--fork-point</code>  &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&tcy; &bcy;&acy;&zcy;&ucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &mcy;&iecy;&zhcy;&dcy;&ucy;  <code>&lt;upstream&gt;</code>  &icy;  <code>&lt;branch&gt;</code> , &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &bcy;&acy;&zcy;&ucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy;  <code>starting point</code> , &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &bcy;&ucy;&dcy;&ucy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ycy; &ncy;&ocy;&vcy;&ycy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &tcy;&ocy;&gcy;&dcy;&acy; &kcy;&acy;&kcy;  <code>--fork-point</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &bcy;&acy;&zcy;&ucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy;  <code>set of commits</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-ltupstreamgt"><span data-i18n="864dd8039b1917d6f3d999b725326d151ba8c6b14098c495b78d289ac77c51e8/5d" data-source="&amp;lt;upstream&amp;gt;" onmousemove="i18n(this)">&lt;upstream&gt;</span></dt> <dd> <p><span data-i18n="3538f45c44aa4088dd470fd45e3bbd377f87ab0fe5b0820ba8db59bf1919ffd6/de" data-source="Upstream branch to compare against. May be any valid commit, not just an existing branch name. Defaults to the configured upstream for the current branch." onmousemove="i18n(this)">&Vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &dcy;&lcy;&yacy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yacy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &lcy;&yucy;&bcy;&ocy;&jcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &acy; &ncy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&iecy; &icy;&mcy;&yacy; &vcy;&iecy;&tcy;&kcy;&icy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ycy;&jcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; &dcy;&lcy;&yacy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-ltbranchgt"><span data-i18n="94df72f0586b2624e4bed1636ef620831ed977b0919e4b2d474387cb849182d7/40" data-source="&amp;lt;branch&amp;gt;" onmousemove="i18n(this)">&lt;branch&gt;</span></dt> <dd> <p><span data-i18n="6439eaecd1e1aa8b933d478a02db308382cafcfa8f46e0bd90f15d299a5fb858/f2" data-source="Working branch; defaults to &lt;code&gt;HEAD&lt;/code&gt;." onmousemove="i18n(this)">&Rcy;&acy;&bcy;&ocy;&chcy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy;; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;  <code>HEAD</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt---apply"><span data-i18n="712826b304390da68a904cadbfab9a2bdcaf498cbd2203fa309f411ab2073c9b/5a" data-source="--apply" onmousemove="i18n(this)">--apply</span></dt> <dd> <p><span data-i18n="8a89cda9ccfc5d43e7a4331e27235660c2c6cd5cc0c012d7373e4bbe0ef39710/92" data-source="Use applying strategies to rebase (calling &lt;code&gt;git-am&lt;/code&gt; internally). This option may become a no-op in the future once the merge backend handles everything the apply one does." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&icy;&jcy; &vcy;&ycy;&zcy;&ocy;&vcy;  <code>git-am</code> ). &Vcy; &bcy;&ucy;&dcy;&ucy;&shchcy;&iecy;&mcy; &ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&tcy;&acy;&tcy;&softcy; &ncy;&iecy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&jcy;, &kcy;&acy;&kcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&mcy;&acy;&yacy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---emptydropkeepask"><span data-i18n="534c70fcd0383589e2ba7e9ea3676640c42bd7f71b183f8f7231bc9801ef364d/55" data-source="--empty=(drop|keep|ask)" onmousemove="i18n(this)">--empty=(drop|keep|ask)</span></dt> <dd> <p><span data-i18n="3bafb7e376c32e5f8e84223df68561a7b9437170b6ab172fc1244485ac13a76d/c5" data-source="How to handle commits that are not empty to start and are not clean cherry-picks of any upstream commit, but which become empty after rebasing (because they contain a subset of already upstream changes). With drop (the default), commits that become empty are dropped. With keep, such commits are kept. With ask (implied by &lt;code&gt;--interactive&lt;/code&gt;), the rebase will halt when an empty commit is applied allowing you to choose whether to drop it, edit files more, or just commit the empty changes. Other options, like &lt;code&gt;--exec&lt;/code&gt;, will use the default of drop unless &lt;code&gt;-i&lt;/code&gt;/&lt;code&gt;--interactive&lt;/code&gt; is explicitly specified." onmousemove="i18n(this)">&Kcy;&acy;&kcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy; &pcy;&rcy;&icy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&iecy; &icy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &chcy;&icy;&scy;&tcy;&ycy;&mcy;&icy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&acy;&mcy;&icy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;, &ncy;&ocy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ocy;&ncy;&icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy; &ucy;&zhcy;&iecy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;). &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; drop (&pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;) &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; Keep &tcy;&acy;&kcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy;. &Scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; Ask (&pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--interactive</code>  ) &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&acy; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;, &chcy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&icy;&tcy; &vcy;&acy;&mcy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy;, &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &lcy;&icy; &iecy;&iecy;, &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &dcy;&acy;&lcy;&softcy;&shcy;&iecy; &icy;&lcy;&icy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&ucy;&scy;&tcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &Dcy;&rcy;&ucy;&gcy;&icy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;, &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy;  <code>--exec</code> , &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy; &yacy;&vcy;&ncy;&ocy;  <code>-i</code> / <code>--interactive</code> .</span></p> <p><span data-i18n="0d692c778da73a7714c3fa6a60ccd65e5926b404df8b7fc4ae9e3733e752b858/a6" data-source="Note that commits which start empty are kept (unless &lt;code&gt;--no-keep-empty&lt;/code&gt; is specified), and commits which are clean cherry-picks (as determined by &lt;code&gt;git log --cherry-mark ...&lt;/code&gt;) are detected and dropped as a preliminary step (unless &lt;code&gt;--reapply-cherry-picks&lt;/code&gt; or &lt;code&gt;--keep-base&lt;/code&gt; is passed)." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; (&iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--no-keep-empty</code> ), &acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &chcy;&icy;&scy;&tcy;&ycy;&mcy;&icy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&acy;&mcy;&icy; (&kcy;&acy;&kcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ocy;  <code>git log --cherry-mark ...</code>  ), &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &icy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &pcy;&rcy;&iecy;&dcy;&vcy;&acy;&rcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &shcy;&acy;&gcy;&acy; (&iecy;&scy;&lcy;&icy; &ncy;&iecy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&ncy;&ycy;  <code>--reapply-cherry-picks</code>  &icy;&lcy;&icy;  <code>--keep-base</code> ).</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---no-keep-empty"><span data-i18n="be890648e9803023c830076447d4377d8160e51b3c4f5d02cfbc05447ae61fd6/16" data-source="--no-keep-empty" onmousemove="i18n(this)">--no-keep-empty</span></dt> <dt id="Documentation/git-rebase.txt---keep-empty"><span data-i18n="09dd72b3165ff0d65b9c30bac28fd383bcae087a273c1b30a913517977ad4a42/43" data-source="--keep-empty" onmousemove="i18n(this)">--keep-empty</span></dt> <dd> <p><span data-i18n="40adf2d67d3b2d64cd0baadad86d54dd86d90781521193beee04d8a04bf4127a/01" data-source="Do not keep commits that start empty before the rebase (i.e. that do not change anything from its parent) in the result. The default is to keep commits which start empty, since creating such commits requires passing the &lt;code&gt;--allow-empty&lt;/code&gt; override flag to &lt;code&gt;git commit&lt;/code&gt;, signifying that a user is very intentionally creating such a commit and thus wants to keep it." onmousemove="i18n(this)">&Ncy;&iecy; &ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&jcy;&tcy;&iecy; &vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy; &dcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&tcy;. &iecy;. &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &mcy;&iecy;&ncy;&yacy;&yucy;&tcy; &pcy;&ocy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yucy; &scy; &rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&icy;&mcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&mcy;). &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &tcy;&acy;&kcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&tcy;&softcy; &fcy;&lcy;&acy;&gcy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy;  <code>--allow-empty</code>  &vcy;  <code>git commit</code> , &chcy;&tcy;&ocy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &tcy;&acy;&kcy;&ocy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &icy; &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &khcy;&ocy;&chcy;&iecy;&tcy; &iecy;&gcy;&ocy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy;.</span></p> <p><span data-i18n="bb1be580c0ae779c55c341963813e5d03fb0ec0dbc36c94acce77e6cb404bd1d/70" data-source="Usage of this flag will probably be rare, since you can get rid of commits that start empty by just firing up an interactive rebase and removing the lines corresponding to the commits you don&amp;rsquo;t want. This flag exists as a convenient shortcut, such as for cases where external tools generate many empty commits and you want them all removed." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ecy;&tcy;&ocy;&gcy;&ocy; &fcy;&lcy;&acy;&gcy;&acy;, &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;, &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&iecy;&dcy;&kcy;&icy;&mcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&zcy;&bcy;&acy;&vcy;&icy;&tcy;&softcy;&scy;&yacy; &ocy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ucy;&yucy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&kcy;&ucy; &icy; &ucy;&dcy;&acy;&lcy;&icy;&vcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&acy;&mcy; &ncy;&iecy; &ncy;&ucy;&zhcy;&ncy;&ycy;. &Ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &kcy;&acy;&kcy; &ucy;&dcy;&ocy;&bcy;&ncy;&ycy;&jcy; &yacy;&rcy;&lcy;&ycy;&kcy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;&khcy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ncy;&iecy;&shcy;&ncy;&icy;&iecy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy; &gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy; &mcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ucy;&scy;&tcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&scy;&iecy; &ocy;&ncy;&icy; &bcy;&ycy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy;.</span></p> <p><span data-i18n="d2952d8b1681c27b200e4d91d07e82b94283ac28918e074b9ad3e34534e4bd15/7f" data-source="For commits which do not start empty but become empty after rebasing, see the &lt;code&gt;--empty&lt;/code&gt; flag." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &ncy;&ocy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &scy;&mcy;. &fcy;&lcy;&acy;&gcy;  <code>--empty</code> .</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---reapply-cherry-picks"><span data-i18n="04f995a9a798838c9b8a681532ecd821fc5b284cfd881edba9728cb0655f1595/96" data-source="--reapply-cherry-picks" onmousemove="i18n(this)">--reapply-cherry-picks</span></dt> <dt id="Documentation/git-rebase.txt---no-reapply-cherry-picks"><span data-i18n="913a547c291df20a9246d6c510eb067f243d610b6b4f7bacdd496153f3c09170/16" data-source="--no-reapply-cherry-picks" onmousemove="i18n(this)">--no-reapply-cherry-picks</span></dt> <dd> <p><span data-i18n="741007c25238e2cdcff3b4c16ae3a9c6b75de3b931237cf4a7d8e5dd2af61f9f/c8" data-source="Reapply all clean cherry-picks of any upstream commit instead of preemptively dropping them. (If these commits then become empty after rebasing, because they contain a subset of already upstream changes, the behavior towards them is controlled by the &lt;code&gt;--empty&lt;/code&gt; flag.)" onmousemove="i18n(this)">&Pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &vcy;&scy;&iecy; &chcy;&icy;&scy;&tcy;&ycy;&iecy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&khcy; &ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy;. (&IEcy;&scy;&lcy;&icy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ocy;&ncy;&icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy; &ucy;&zhcy;&iecy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ocy;&tcy;&ncy;&ocy;&shcy;&iecy;&ncy;&icy;&yucy; &kcy; &ncy;&icy;&mcy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &fcy;&lcy;&acy;&gcy;&ocy;&mcy;  <code>--empty</code> .)</span></p> <p><span data-i18n="4bd76d27e41491bd98ccf7257281d82825b2d78b5d9002ba63c623e0cd61be90/7d" data-source="In the absence of &lt;code&gt;--keep-base&lt;/code&gt; (or if &lt;code&gt;--no-reapply-cherry-picks&lt;/code&gt; is given), these commits will be automatically dropped. Because this necessitates reading all upstream commits, this can be expensive in repositories with a large number of upstream commits that need to be read. When using the &lt;code&gt;merge&lt;/code&gt; backend, warnings will be issued for each dropped commit (unless &lt;code&gt;--quiet&lt;/code&gt; is given). Advice will also be issued unless &lt;code&gt;advice.skippedCherryPicks&lt;/code&gt; is set to false (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&icy;  <code>--keep-base</code>  (&icy;&lcy;&icy; &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--no-reapply-cherry-picks</code> ) &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &bcy;&ucy;&dcy;&ucy;&tcy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy;. &Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &dcy;&ocy;&rcy;&ocy;&gcy;&ocy;&scy;&tcy;&ocy;&yacy;&shchcy;&icy;&mcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;&khcy; &scy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&mcy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy;&mcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&tcy;&softcy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ocy;&jcy; &chcy;&acy;&scy;&tcy;&icy;  <code>merge</code>  &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&dcy;&acy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &ocy;&tcy;&bcy;&rcy;&ocy;&shcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; (&iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--quiet</code> ). &Rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&acy;&tscy;&icy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&dcy;&acy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &dcy;&lcy;&yacy;  <code>advice.skippedCherryPicks</code>  &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  false  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ).</span></p> <p><span data-i18n="5b2f7bd46f0d616732395fb0c3af62ebfff1669716f171995302eb8ca9f10961/18" data-source="&lt;code&gt;--reapply-cherry-picks&lt;/code&gt; allows rebase to forgo reading all upstream commits, potentially improving performance." onmousemove="i18n(this)"><code>--reapply-cherry-picks</code>  &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; rebase, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;&scy;&yacy; &ocy;&tcy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &vcy;&scy;&iecy;&khcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &chcy;&tcy;&ocy; &pcy;&ocy;&tcy;&iecy;&ncy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &pcy;&ocy;&vcy;&ycy;&shcy;&acy;&iecy;&tcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&softcy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---allow-empty-message"><span data-i18n="d56264fe4e4986ceb4b5a6b68fa4b2f9201e92677f3832cb2fd534e1bfbe509b/a4" data-source="--allow-empty-message" onmousemove="i18n(this)">--allow-empty-message</span></dt> <dd> <p><span data-i18n="41106b432652a05e51746efe53cdb08702b9a09dd1cf1181e49a6aa87b7dcfcc/28" data-source="No-op. Rebasing commits with an empty message used to fail and this option would override that behavior, allowing commits with empty messages to be rebased. Now commits with an empty message do not cause rebasing to halt." onmousemove="i18n(this)">&Ncy;&iecy;&tcy;-&ocy;&pcy;. &Pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &scy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;&mcy; &rcy;&acy;&ncy;&softcy;&shcy;&iecy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&lcy;&ocy; &kcy; &scy;&bcy;&ocy;&yucy;, &icy; &ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &ecy;&tcy;&ocy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;. &Tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;&mcy; &ncy;&iecy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&yacy;&tcy; &kcy; &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt--m"><span data-i18n="c4e153afb4aeaa5818fb08325ebff59f883a0482006aa3cc1c17c9b393e54efa/11" data-source="-m" onmousemove="i18n(this)">-m</span></dt> <dt id="Documentation/git-rebase.txt---merge"><span data-i18n="8fb0e06813ad30153047701775d50b3c457f0df427ea7a690312a21a2e94ea2d/e9" data-source="--merge" onmousemove="i18n(this)">--merge</span></dt> <dd> <p><span data-i18n="e3655675856b3e1a9d5fc578a43be56d983328cffc2e829852fa2380deb7b7bf/14" data-source="Using merging strategies to rebase (default)." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&jcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;).</span></p> <p><span data-i18n="5cffccd2c1fb96553cd24785e7e61bad391d365375e88e22f2d0b6bf6a10582c/ad" data-source="Note that a rebase merge works by replaying each commit from the working branch on top of the &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; branch. Because of this, when a merge conflict happens, the side reported as &lt;code&gt;ours&lt;/code&gt; is the so-far rebased series, starting with &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt;, and &lt;code&gt;theirs&lt;/code&gt; is the working branch. In other words, the sides are swapped." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&iecy; &scy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &pcy;&ucy;&tcy;&iecy;&mcy; &vcy;&ocy;&scy;&pcy;&rcy;&ocy;&icy;&zcy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &icy;&zcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &vcy;&iecy;&tcy;&kcy;&icy;  <code>&lt;upstream&gt;</code> . &Pcy;&ocy; &ecy;&tcy;&ocy;&jcy; &pcy;&rcy;&icy;&chcy;&icy;&ncy;&iecy;, &kcy;&ocy;&gcy;&dcy;&acy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy;, &ocy;&bcy;&ocy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ncy;&acy;&yacy; &kcy;&acy;&kcy;  <code>ours</code> , &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &scy;&iecy;&rcy;&icy;&iecy;&jcy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy;  <code>&lt;upstream&gt;</code> , &acy;  <code>theirs</code>  &mdash; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&jcy; &vcy;&iecy;&tcy;&vcy;&softcy;&yucy;. &Dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &scy;&lcy;&ocy;&vcy;&acy;&mcy;&icy;, &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ycy; &mcy;&iecy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &mcy;&iecy;&scy;&tcy;&acy;&mcy;&icy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt--sltstrategygt"><span data-i18n="ac5ae1629a39c2f9f8ef746a8c38bc0f7535614deb96c6197e1e8ffe02acbc4e/c3" data-source="-s &amp;lt;strategy&amp;gt;" onmousemove="i18n(this)">-s &lt;strategy&gt;</span></dt> <dt id="Documentation/git-rebase.txt---strategyltstrategygt"><span data-i18n="d59ee41a7fbb46b68cbf62188c2b07682e9a907bb7606d1c90992296bfb8adc7/ef" data-source="--strategy=&amp;lt;strategy&amp;gt;" onmousemove="i18n(this)">--strategy=&lt;strategy&gt;</span></dt> <dd> <p><span data-i18n="e2a1120149d796d7b9daa56c7e2bebb63aab3ca6ea8793d79a891967f8268e09/f5" data-source="Use the given merge strategy, instead of the default &lt;code&gt;ort&lt;/code&gt;. This implies &lt;code&gt;--merge&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy;  <code>ort</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;  <code>--merge</code> .</span></p> <p><span data-i18n="9fa9f86f6c3b2c6172b6ff4aff36bd7a691f97505346094be9d32899518e09a7/47" data-source="Because &lt;code&gt;git rebase&lt;/code&gt; replays each commit from the working branch on top of the &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; branch using the given strategy, using the &lt;code&gt;ours&lt;/code&gt; strategy simply empties all patches from the &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt;, which makes little sense." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy;  <code>git rebase</code>  &vcy;&ocy;&scy;&pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &icy;&zcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &vcy;&iecy;&tcy;&kcy;&icy;  <code>&lt;upstream&gt;</code>  &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy;  <code>ours</code>  &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy; &vcy;&scy;&iecy; &pcy;&acy;&tcy;&chcy;&icy; &icy;&zcy;  <code>&lt;branch&gt;</code> , &chcy;&tcy;&ocy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &ocy;&scy;&ocy;&bcy;&ocy;&gcy;&ocy; &scy;&mcy;&ycy;&scy;&lcy;&acy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt--Xltstrategy-optiongt"><span data-i18n="412ad18ddfeffa0ffad0f5072ba0cc42491f92b0b07e75f062eba8aeafe74012/99" data-source="-X &amp;lt;strategy-option&amp;gt;" onmousemove="i18n(this)">-X &lt;strategy-option&gt;</span></dt> <dt id="Documentation/git-rebase.txt---strategy-optionltstrategy-optiongt"><span data-i18n="923812d71d8a18f02490172e2d1304522dbdc77dd0076ed7ff97f5b7b4cba9fb/25" data-source="--strategy-option=&amp;lt;strategy-option&amp;gt;" onmousemove="i18n(this)">--strategy-option=&lt;strategy-option&gt;</span></dt> <dd> <p><span data-i18n="aa59c7ce848e65e0198549d27074ef43ab5f1846124a95a8465ea9382d30eeef/a1" data-source="Pass the &amp;lt;strategy-option&amp;gt; through to the merge strategy. This implies &lt;code&gt;--merge&lt;/code&gt; and, if no strategy has been specified, &lt;code&gt;-s ort&lt;/code&gt;. Note the reversal of &lt;code&gt;ours&lt;/code&gt; and &lt;code&gt;theirs&lt;/code&gt; as noted above for the &lt;code&gt;-m&lt;/code&gt; option." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&dcy;&acy;&jcy;&tcy;&iecy; &lt;strategy-option&gt; &vcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;  <code>--merge</code>  &icy;, &iecy;&scy;&lcy;&icy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy;,  <code>-s ort</code> . &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy; &ncy;&acy; &pcy;&iecy;&rcy;&iecy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&ucy;  <code>ours</code>  &icy;  <code>theirs</code> , &kcy;&acy;&kcy; &ocy;&tcy;&mcy;&iecy;&chcy;&iecy;&ncy;&ocy; &vcy;&ycy;&shcy;&iecy; &dcy;&lcy;&yacy; &ocy;&pcy;&tscy;&icy;&icy;  <code>-m</code> .</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---rerere-autoupdate"><span data-i18n="43c74f65e0d9d1c69438db1ed03d4e5e5863408a6674c1e9d6831d14543668fe/7a" data-source="--rerere-autoupdate" onmousemove="i18n(this)">--rerere-autoupdate</span></dt> <dt id="Documentation/git-rebase.txt---no-rerere-autoupdate"><span data-i18n="2ff823999087968f494b4f32b8d55be1e46326b3680d2fb17d3e8929ec491196/09" data-source="--no-rerere-autoupdate" onmousemove="i18n(this)">--no-rerere-autoupdate</span></dt> <dd> <p><span data-i18n="854915326a4a41d6390df56a9d3d1487178d7eddd59fb5fbc6317b45374a5b2c/a6" data-source="After the rerere mechanism reuses a recorded resolution on the current conflict to update the files in the working tree, allow it to also update the index with the result of resolution. &lt;code&gt;--no-rerere-autoupdate&lt;/code&gt; is a good way to double-check what &lt;code&gt;rerere&lt;/code&gt; did and catch potential mismerges, before committing the result to the index with a separate &lt;code&gt;git add&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; rerere &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ocy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;, &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&iecy; &iecy;&mcy;&ucy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &scy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy;.  <code>--no-rerere-autoupdate</code>  &mdash; &khcy;&ocy;&rcy;&ocy;&shcy;&icy;&jcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &pcy;&iecy;&rcy;&iecy;&pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy; &tcy;&ocy;, &chcy;&tcy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&lcy;  <code>rerere</code> , &icy; &vcy;&ycy;&yacy;&vcy;&icy;&tcy;&softcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ycy;&iecy; &ocy;&shcy;&icy;&bcy;&kcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &pcy;&rcy;&iecy;&zhcy;&dcy;&iecy; &chcy;&iecy;&mcy; &zcy;&acy;&ncy;&ocy;&scy;&icy;&tcy;&softcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy;  <code>git add</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt--Sltkeyidgt"><span data-i18n="81022e0227a476cb39b3c7536e8861d916ea9462349bdbb91fe1f1ee856622ff/ad" data-source="-S[&amp;lt;keyid&amp;gt;]" onmousemove="i18n(this)">-S[&lt;keyid&gt;]</span></dt> <dt id="Documentation/git-rebase.txt---gpg-signltkeyidgt"><span data-i18n="df48474147c9c7172d8f1029beb425f8566e8a840580f02b664cfd0a332db8e6/2e" data-source="--gpg-sign[=&amp;lt;keyid&amp;gt;]" onmousemove="i18n(this)">--gpg-sign[=&lt;keyid&gt;]</span></dt> <dt id="Documentation/git-rebase.txt---no-gpg-sign"><span data-i18n="08f741608de1fc2eb2af984114e38f3f6852b5d615634c4e27dffda230a0220e/ee" data-source="--no-gpg-sign" onmousemove="i18n(this)">--no-gpg-sign</span></dt> <dd> <p><span data-i18n="9fe40652f924289c50713764fdfcd723591e2214b07842c244b4612d52d216a6/47" data-source="GPG-sign commits. The &lt;code&gt;keyid&lt;/code&gt; argument is optional and defaults to the committer identity; if specified, it must be stuck to the option without a space. &lt;code&gt;--no-gpg-sign&lt;/code&gt; is useful to countermand both &lt;code&gt;commit.gpgSign&lt;/code&gt; configuration variable, and earlier &lt;code&gt;--gpg-sign&lt;/code&gt;." onmousemove="i18n(this)">GPG-&zcy;&ncy;&acy;&kcy; &fcy;&icy;&kcy;&scy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;. &Acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;  <code>keyid</code>  &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy; &icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&acy;; &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &ocy;&ncy;&ocy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &bcy;&ycy;&tcy;&softcy; &pcy;&rcy;&icy;&kcy;&rcy;&iecy;&pcy;&lcy;&iecy;&ncy;&ocy; &kcy; &ocy;&pcy;&tscy;&icy;&icy; &bcy;&iecy;&zcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;.  <code>--no-gpg-sign</code>  &pcy;&ocy;&lcy;&iecy;&zcy;&iecy;&ncy; &dcy;&lcy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&ycy; &kcy;&acy;&kcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>commit.gpgSign</code> , &tcy;&acy;&kcy; &icy; &bcy;&ocy;&lcy;&iecy;&iecy; &rcy;&acy;&ncy;&ncy;&iecy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy;  <code>--gpg-sign</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dt id="Documentation/git-rebase.txt---quiet"><span data-i18n="b00818cdc507640687732769ee1cb501db377927ee76d03df23978bd0d706888/e2" data-source="--quiet" onmousemove="i18n(this)">--quiet</span></dt> <dd> <p><span data-i18n="eb6e67f2f8e9882851ce4352fcab26333fdaa34aed8c5a4871d613ca01383561/bb" data-source="Be quiet. Implies &lt;code&gt;--no-stat&lt;/code&gt;." onmousemove="i18n(this)">&Bcy;&ucy;&dcy;&softcy; &scy;&pcy;&ocy;&kcy;&ocy;&iecy;&ncy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--no-stat</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt--v"><span data-i18n="81c36ccd44ef18baabad6e2d87038b72d606263bd6a3432b964a872023654fff/7c" data-source="-v" onmousemove="i18n(this)">-v</span></dt> <dt id="Documentation/git-rebase.txt---verbose"><span data-i18n="bff1e8d3adf9e53481e9b21876983b359dc8a231bf7ebadde36a42dd7bd4db5c/93" data-source="--verbose" onmousemove="i18n(this)">--verbose</span></dt> <dd> <p><span data-i18n="130be7eb1760f4f6f7630a4192a01a819dc2dc207631cee319fbcce799d22dcb/9c" data-source="Be verbose. Implies &lt;code&gt;--stat&lt;/code&gt;." onmousemove="i18n(this)">&Bcy;&ucy;&dcy;&softcy;&tcy;&iecy; &mcy;&ncy;&ocy;&gcy;&ocy;&scy;&lcy;&ocy;&vcy;&ncy;&ycy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--stat</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt---stat"><span data-i18n="dcbfcaf7e3d31dca78e7804434254ee54852a4f6b5f54f3adcfdb3955f6f768e/5f" data-source="--stat" onmousemove="i18n(this)">--stat</span></dt> <dd> <p><span data-i18n="2296d86bad6128a5989c82a0686b187b5113284b7c98504194786bf70b018f78/e2" data-source="Show a diffstat of what changed upstream since the last rebase. The diffstat is also controlled by the configuration option rebase.stat." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &rcy;&acy;&zcy;&ncy;&icy;&tscy;&ucy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&ocy;&scy;&softcy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &kcy;&ocy;&dcy;&iecy; &scy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy;&acy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&jcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy;. diffstat &tcy;&acy;&kcy;&zhcy;&iecy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&mcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; rebase.stat.</span></p> </dd> <dt id="Documentation/git-rebase.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-rebase.txt---no-stat"><span data-i18n="019cd7ab64d03694da72ac9ebba8f308d25389952e31a2b7dd9de1f545c4b7bd/3a" data-source="--no-stat" onmousemove="i18n(this)">--no-stat</span></dt> <dd> <p><span data-i18n="e653b6697506e14afbceb9bd31302a26f2cc3a0d930b7a50aac10fb855196ab3/46" data-source="Do not show a diffstat as part of the rebase process." onmousemove="i18n(this)">&Ncy;&iecy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&jcy;&tcy;&iecy; diffstat &kcy;&acy;&kcy; &chcy;&acy;&scy;&tcy;&softcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&acy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---no-verify"><span data-i18n="e47e76424ae98da0a14e422348b37cfc15549f36aedcd7ffa0e6ddb142b25d33/d7" data-source="--no-verify" onmousemove="i18n(this)">--no-verify</span></dt> <dd> <p><span data-i18n="f4dccfd3760493c6ec8a902a685d1a576bbf0bea69fb5b5ba79b683943bcec03/c0" data-source="This option bypasses the pre-rebase hook. See also &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ocy;&bcy;&khcy;&ocy;&dcy;&icy;&tcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy; &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy;. &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="githooks.html">githooks[5]</a> .</span></p> </dd> <dt id="Documentation/git-rebase.txt---verify"><span data-i18n="aa35d6fa1d5803195a7201018b81073f2abbad4b9e759a76972e8a8ed21e09f0/4b" data-source="--verify" onmousemove="i18n(this)">--verify</span></dt> <dd> <p><span data-i18n="6c2cd1d4e4bcfdcdc77741fa20ec22df1fa5c8c58a09a10eb428d4abcae148d2/c3" data-source="Allows the pre-rebase hook to run, which is the default. This option can be used to override &lt;code&gt;--no-verify&lt;/code&gt;. See also &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&iecy;&tcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&acy; &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; (&pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;). &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy;  <code>--no-verify</code> . &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="githooks.html">githooks[5]</a> .</span></p> </dd> <dt id="Documentation/git-rebase.txt--Cltngt"><span data-i18n="28dfc08a4753ddcdaa7195e40407151f2e3f0fee783b2765300019fbca24db75/bc" data-source="-C&amp;lt;n&amp;gt;" onmousemove="i18n(this)">-C&lt;n&gt;</span></dt> <dd> <p><span data-i18n="b8fa75bc0bc8aa0e920a7517f1c326d20151852d0a6f2b538599efb8f922f1c6/3a" data-source="Ensure at least &lt;code&gt;&amp;lt;n&amp;gt;&lt;/code&gt; lines of surrounding context match before and after each change. When fewer lines of surrounding context exist they all must match. By default no context is ever ignored. Implies &lt;code&gt;--apply&lt;/code&gt;." onmousemove="i18n(this)">&Ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &pcy;&ocy; &kcy;&rcy;&acy;&jcy;&ncy;&iecy;&jcy; &mcy;&iecy;&rcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  <code>&lt;n&gt;</code>  &ocy;&kcy;&rcy;&ucy;&zhcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&yucy;&tcy; &dcy;&ocy; &icy; &pcy;&ocy;&scy;&lcy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &Kcy;&ocy;&gcy;&dcy;&acy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy; &ocy;&kcy;&rcy;&ucy;&zhcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy;, &vcy;&scy;&iecy; &ocy;&ncy;&icy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&tcy;&softcy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ncy;&icy; &ocy;&dcy;&icy;&ncy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy; &ncy;&iecy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--apply</code> .</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---no-ff"><span data-i18n="1210d1f00f18f67d5cfcac990e97c59607c17263bcb8de413896c311476eddd0/3e" data-source="--no-ff" onmousemove="i18n(this)">--no-ff</span></dt> <dt id="Documentation/git-rebase.txt---force-rebase"><span data-i18n="2d6dff22d50414eff19786057d253072c8afc7017b385a6219d77b599e0a1323/6f" data-source="--force-rebase" onmousemove="i18n(this)">--force-rebase</span></dt> <dt id="Documentation/git-rebase.txt--f"><span data-i18n="0e6503c1ece40e4ea7668463248ea2716eb37643f2c2c605f8bcee4d195a1705/83" data-source="-f" onmousemove="i18n(this)">-f</span></dt> <dd> <p><span data-i18n="198867267f895fa12516685b5fcb70638f4b4a46a53998d9b6b97dfce6ab104a/fa" data-source="Individually replay all rebased commits instead of fast-forwarding over the unchanged ones. This ensures that the entire history of the rebased branch is composed of new commits." onmousemove="i18n(this)">&Icy;&ncy;&dcy;&icy;&vcy;&icy;&dcy;&ucy;&acy;&lcy;&softcy;&ncy;&ocy; &vcy;&ocy;&scy;&pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&iecy; &vcy;&scy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &bcy;&ycy;&scy;&tcy;&rcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&ocy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy;. &Ecy;&tcy;&ocy; &gcy;&acy;&rcy;&acy;&ncy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;, &chcy;&tcy;&ocy; &vcy;&scy;&yacy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &scy;&ocy;&scy;&tcy;&ocy;&icy;&tcy; &icy;&zcy; &ncy;&ocy;&vcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;.</span></p> <p><span data-i18n="8a521524382dbc06b5d573243e5575a8e85e74ec5c6d82465005a3d866eb8082/71" data-source="You may find this helpful after reverting a topic branch merge, as this option recreates the topic branch with fresh commits so it can be remerged successfully without needing to &amp;quot;revert the reversion&amp;quot; (see the &lt;a href=&quot;https://git-scm.com/docs/howto/revert-a-faulty-merge&quot;&gt;revert-a-faulty-merge How-To&lt;/a&gt; for details)." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy;&mcy; &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&tcy;&mcy;&iecy;&ncy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &vcy;&iecy;&tcy;&kcy;&icy; &tcy;&iecy;&mcy;&ycy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &vcy;&ocy;&scy;&scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &vcy;&iecy;&tcy;&kcy;&ucy; &tcy;&iecy;&mcy;&ycy; &scy;&ocy; &scy;&vcy;&iecy;&zhcy;&icy;&mcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &iecy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&softcy; &bcy;&iecy;&zcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;  &quot;revert the reversion&quot;  (&pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="https://git-scm.com/docs/howto/revert-a-faulty-merge">revert-a-faulty-merge How-To</a> ).</span></p> </dd> <dt id="Documentation/git-rebase.txt---fork-point"><span data-i18n="4e3b25cb1b587891c16fb19a477f52967120734759b8eb14182eb3eb0130f4d3/57" data-source="--fork-point" onmousemove="i18n(this)">--fork-point</span></dt> <dt id="Documentation/git-rebase.txt---no-fork-point"><span data-i18n="5984fc348eb536f6e89590f860e3faa027cc98106590c0db4f7f69c804a5ec31/7a" data-source="--no-fork-point" onmousemove="i18n(this)">--no-fork-point</span></dt> <dd> <p><span data-i18n="b3073281bbf8d90151d278827a2478e205bbd2c2018f8a1cd053e81564b22eb4/6d" data-source="Use reflog to find a better common ancestor between &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt; when calculating which commits have been introduced by &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; reflog, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&jcy;&tcy;&icy; &lcy;&ucy;&chcy;&shcy;&iecy;&gcy;&ocy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &pcy;&rcy;&iecy;&dcy;&kcy;&acy; &mcy;&iecy;&zhcy;&dcy;&ucy;  <code>&lt;upstream&gt;</code>  &icy;  <code>&lt;branch&gt;</code>  &pcy;&rcy;&icy; &rcy;&acy;&scy;&chcy;&iecy;&tcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &bcy;&ycy;&lcy;&icy; &vcy;&vcy;&iecy;&dcy;&iecy;&ncy;&ycy;  <code>&lt;branch&gt;</code> .</span></p> <p><span data-i18n="55df8a599b3db05c08a987722066952a0e23892933ae53038e4e2d430437c1e7/44" data-source="When &lt;code&gt;--fork-point&lt;/code&gt; is active, &lt;code&gt;fork_point&lt;/code&gt; will be used instead of &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; to calculate the set of commits to rebase, where &lt;code&gt;fork_point&lt;/code&gt; is the result of &lt;code&gt;git merge-base --fork-point &amp;lt;upstream&amp;gt;
&amp;lt;branch&amp;gt;&lt;/code&gt; command (see &lt;a href=&quot;git-merge-base&quot;&gt;git-merge-base[1]&lt;/a&gt;). If &lt;code&gt;fork_point&lt;/code&gt; ends up being empty, the &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; will be used as a fallback." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy;  <code>--fork-point</code>  &acy;&kcy;&tcy;&icy;&vcy;&iecy;&ncy;,  <code>fork_point</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy;  <code>&lt;upstream&gt;</code>  &dcy;&lcy;&yacy; &rcy;&acy;&scy;&chcy;&iecy;&tcy;&acy; &ncy;&acy;&bcy;&ocy;&rcy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &gcy;&dcy;&iecy;  <code>fork_point</code>  &mdash; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>git merge-base --fork-point &lt;upstream&gt;
&lt;branch&gt;</code>  (&scy;&mcy;.  <a href="git-merge-base.html">git-merge-base[1]</a> ). &IEcy;&scy;&lcy;&icy;  <code>fork_point</code>  &ocy;&kcy;&acy;&zhcy;&iecy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;,  <code>&lt;upstream&gt;</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&ocy;&gcy;&ocy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&acy;.</span></p> <p><span data-i18n="ff81bc70e15dca694bdfa755c10a27fcc5b760601faecd306353bbd8ab344d97/a4" data-source="If &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; or &lt;code&gt;--keep-base&lt;/code&gt; is given on the command line, then the default is &lt;code&gt;--no-fork-point&lt;/code&gt;, otherwise the default is &lt;code&gt;--fork-point&lt;/code&gt;. See also &lt;code&gt;rebase.forkpoint&lt;/code&gt; in &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &zcy;&acy;&dcy;&acy;&ncy;&ycy;  <code>&lt;upstream&gt;</code>  &icy;&lcy;&icy;  <code>--keep-base</code> , &tcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  <code>--no-fork-point</code> , &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  <code>--fork-point</code> . &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <code>rebase.forkpoint</code>  &vcy;  <a href="git-config.html">git-config[1]</a> .</span></p> <p><span data-i18n="0a0e977d6e5f245bad44b33588b28036f4cad679b8a76b5adbfaf78c3c0c6871/1a" data-source="If your branch was based on &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; but &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; was rewound and your branch contains commits which were dropped, this option can be used with &lt;code&gt;--keep-base&lt;/code&gt; in order to drop those commits from your branch." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&acy;&shcy;&acy; &vcy;&iecy;&tcy;&kcy;&acy; &bcy;&ycy;&lcy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&acy;&ncy;&acy; &ncy;&acy;  <code>&lt;upstream&gt;</code> , &ncy;&ocy;  <code>&lt;upstream&gt;</code>  &bcy;&ycy;&lcy;&acy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&acy;&ncy;&acy; &icy; &vcy;&acy;&shcy;&acy; &vcy;&iecy;&tcy;&kcy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ycy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy;, &ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;  <code>--keep-base</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &icy;&zcy; &vcy;&acy;&shcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---ignore-whitespace"><span data-i18n="36566985c3cd427bca35a5990cbf1bde8d4022e9f183cc87724768ebb399c8c5/fe" data-source="--ignore-whitespace" onmousemove="i18n(this)">--ignore-whitespace</span></dt> <dd> <p><span data-i18n="63e068ad5392434bda182ae0f041990e862957a078fdc3c8d52934d1b264a04a/72" data-source="Ignore whitespace differences when trying to reconcile differences. Currently, each backend implements an approximation of this behavior:" onmousemove="i18n(this)">&Icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&yacy; &vcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&khcy; &pcy;&rcy;&icy; &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&iecy; &scy;&ocy;&gcy;&lcy;&acy;&scy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&yacy;. &Vcy; &ncy;&acy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&ucy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&ncy;&ocy; &tcy;&acy;&kcy;&ocy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;:</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt-applybackend"><span data-i18n="0c0371f923e2224a9447b5a912c40580f333870e60861961fa1fdc12e156ccd8/1c" data-source="apply backend" onmousemove="i18n(this)">apply backend</span></dt> <dd> <p><span data-i18n="c19428484aba4878a620bf37697048e83b62eb946d8b09cae94cabb6bbad3528/b1" data-source="When applying a patch, ignore changes in whitespace in context lines. Unfortunately, this means that if the &amp;quot;old&amp;quot; lines being replaced by the patch differ only in whitespace from the existing file, you will get a merge conflict instead of a successful patch application." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &pcy;&acy;&tcy;&chcy;&acy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy; &vcy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;&khcy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy;. &Kcy; &scy;&ocy;&zhcy;&acy;&lcy;&iecy;&ncy;&icy;&yucy;, &ecy;&tcy;&ocy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &iecy;&scy;&lcy;&icy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  &quot;old&quot; , &zcy;&acy;&mcy;&iecy;&ncy;&yacy;&iecy;&mcy;&ycy;&iecy; &pcy;&acy;&tcy;&chcy;&iecy;&mcy;, &ocy;&tcy;&lcy;&icy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &ocy;&tcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&mcy;&icy;, &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&acy;&tcy;&chcy;&acy; &vcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-mergebackend"><span data-i18n="0448a05708d563a8db84c1159d73f71a3e548a691d003de624e861f4cc4620ae/b5" data-source="merge backend" onmousemove="i18n(this)">merge backend</span></dt> <dd> <p><span data-i18n="40101c9ad1c0a1ce06c8250f2c20aea6bcb3276ab7a6779f3f6d302e41fc2c44/a3" data-source="Treat lines with only whitespace changes as unchanged when merging. Unfortunately, this means that any patch hunks that were intended to modify whitespace and nothing else will be dropped, even if the other side had no changes that conflicted." onmousemove="i18n(this)">&Scy;&chcy;&icy;&tcy;&acy;&jcy;&tcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ycy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ycy;, &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &pcy;&rcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&icy;. &Kcy; &scy;&ocy;&zhcy;&acy;&lcy;&iecy;&ncy;&icy;&yucy;, &ecy;&tcy;&ocy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &lcy;&yucy;&bcy;&ycy;&iecy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ycy; &pcy;&acy;&tcy;&chcy;&iecy;&jcy;, &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy; &icy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&gcy;&ocy;, &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &ncy;&acy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &ncy;&iecy; &bcy;&ycy;&lcy;&ocy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&khcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ucy;&yucy;&shchcy;&icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;.</span></p> </dd> </dl> </div> </dd> <dt id="Documentation/git-rebase.txt---whitespaceltoptiongt"><span data-i18n="1076f1fc5c7b6d0661c8ce3aaf3d946b1399c634e461fa011b7a794786bb66a0/1c" data-source="--whitespace=&amp;lt;option&amp;gt;" onmousemove="i18n(this)">--whitespace=&lt;option&gt;</span></dt> <dd> <p><span data-i18n="66e0d393e1c2802ca464a79f8d928256144f4beecfd84de1b642bedad714f36c/46" data-source="This flag is passed to the &lt;code&gt;git apply&lt;/code&gt; program (see &lt;a href=&quot;git-apply&quot;&gt;git-apply[1]&lt;/a&gt;) that applies the patch. Implies &lt;code&gt;--apply&lt;/code&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&ocy;&gcy;&rcy;&acy;&mcy;&mcy;&iecy;  <code>git apply</code>  (&scy;&mcy;.  <a href="git-apply.html">git-apply[1]</a> ), &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--apply</code> .</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---committer-date-is-author-date"><span data-i18n="43eeda00109570d4e91c67f5a7e68d9fe97cdde3214c15ea6764011470b212d3/ce" data-source="--committer-date-is-author-date" onmousemove="i18n(this)">--committer-date-is-author-date</span></dt> <dd> <p><span data-i18n="c6393cc0df45d358ff4fa407175061fb40839b9e8241256cefe2eebcfb67c569/28" data-source="Instead of using the current time as the committer date, use the author date of the commit being rebased as the committer date. This option implies &lt;code&gt;--force-rebase&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &dcy;&acy;&tcy;&ycy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &dcy;&acy;&tcy;&ucy; &acy;&vcy;&tcy;&ocy;&rcy;&acy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&iecy;&mcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &dcy;&acy;&tcy;&ycy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&acy;. &Ecy;&tcy;&ocy;&tcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;  <code>--force-rebase</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt---ignore-date"><span data-i18n="51b2fcd42cb1910c9c74a74966041db2d0eb78b31b715b3fc500833c99fd4a30/9a" data-source="--ignore-date" onmousemove="i18n(this)">--ignore-date</span></dt> <dt id="Documentation/git-rebase.txt---reset-author-date"><span data-i18n="91418942b265b52c65855d585fbef5ae05dd227f45f6e94986019702e63eedc2/2e" data-source="--reset-author-date" onmousemove="i18n(this)">--reset-author-date</span></dt> <dd> <p><span data-i18n="f89e540bebac8775822dffd97d25bb607c122d6a3b2d65e562f807519f2e6e9d/78" data-source="Instead of using the author date of the original commit, use the current time as the author date of the rebased commit. This option implies &lt;code&gt;--force-rebase&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &dcy;&acy;&tcy;&ycy; &acy;&vcy;&tcy;&ocy;&rcy;&acy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &dcy;&acy;&tcy;&ycy; &acy;&vcy;&tcy;&ocy;&rcy;&acy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Ecy;&tcy;&ocy;&tcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;  <code>--force-rebase</code> .</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---signoff"><span data-i18n="8deeb9c823dc56953005eef28f08e1ae8e950a5ddcdf5af3be9c52d2b23e5e32/fa" data-source="--signoff" onmousemove="i18n(this)">--signoff</span></dt> <dd> <p><span data-i18n="6a9fbb35d25b05fe0341d0f51a12876bdbea7bd63db84e8784915253fa1a37a1/65" data-source="Add a &lt;code&gt;Signed-off-by&lt;/code&gt; trailer to all the rebased commits. Note that if &lt;code&gt;--interactive&lt;/code&gt; is given then only commits marked to be picked, edited or reworded will have the trailer added." onmousemove="i18n(this)">&Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &tcy;&rcy;&iecy;&jcy;&lcy;&iecy;&rcy;  <code>Signed-off-by</code>  &kcy;&ocy; &vcy;&scy;&iecy;&mcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;: &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--interactive</code> , &tcy;&ocy; &tcy;&rcy;&iecy;&jcy;&lcy;&iecy;&rcy; &bcy;&ucy;&dcy;&iecy;&tcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;, &pcy;&ocy;&mcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&mcy; &dcy;&lcy;&yacy; &vcy;&ycy;&bcy;&ocy;&rcy;&acy;, &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&fcy;&ocy;&rcy;&mcy;&ucy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt--i"><span data-i18n="444c8974fcf3d4d990db382d0a6ed1d69ffc4caa10da28afd7ab561fd7f27ced/9f" data-source="-i" onmousemove="i18n(this)">-i</span></dt> <dt id="Documentation/git-rebase.txt---interactive"><span data-i18n="8de13a6788f37255da5b35cac31b207d90b4219bd9af6d3da5bc2a30a027dae9/6e" data-source="--interactive" onmousemove="i18n(this)">--interactive</span></dt> <dd> <p><span data-i18n="99bd43218dfbd604bc599e5ccfe5567ca3c9ccb4b6caf79a1c90b80d109e54b9/19" data-source="Make a list of the commits which are about to be rebased. Let the user edit that list before rebasing. This mode can also be used to split commits (see SPLITTING COMMITS below)." onmousemove="i18n(this)">&Scy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&ocy;&bcy;&icy;&rcy;&acy;&yucy;&tcy;&scy;&yacy; &bcy;&ycy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy;. &Pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&softcy;&tcy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yucy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy;. &Ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; (&scy;&mcy;. &Rcy;&Acy;&Zcy;&Dcy;&IEcy;&Lcy;&IEcy;&Ncy;&Icy;&IEcy; &Kcy;&Ocy;&Mcy;&Mcy;&Icy;&Tcy;&Ocy;&Vcy; &ncy;&icy;&zhcy;&iecy;).</span></p> <p><span data-i18n="99001ae7ac13033fa57ee84dd5eed788934086d197f0df8d9d3afeb09faabe41/72" data-source="The commit list format can be changed by setting the configuration option rebase.instructionFormat. A customized instruction format will automatically have the commit hash prepended to the format." onmousemove="i18n(this)">&Fcy;&ocy;&rcy;&mcy;&acy;&tcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;, &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&vcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; rebase.instructionFormat. &Vcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&mcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&kcy;&tscy;&icy;&jcy; &kcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&ucy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &khcy;&iecy;&shcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt--r"><span data-i18n="1e1caaf8cf28cb0243175a8dd26a3fc0d8f2c5527c661586bb816e57b9919be2/c9" data-source="-r" onmousemove="i18n(this)">-r</span></dt> <dt id="Documentation/git-rebase.txt---rebase-mergesrebase-cousinsno-rebase-cousins"><span data-i18n="3f979958b18507df8f348319e2f19aad47a5514e5bcdcc6740278ca331d453d7/e7" data-source="--rebase-merges[=(rebase-cousins|no-rebase-cousins)]" onmousemove="i18n(this)">--rebase-merges[=(rebase-cousins|no-rebase-cousins)]</span></dt> <dt id="Documentation/git-rebase.txt---no-rebase-merges"><span data-i18n="ac8e4141d9aa626ae3becd6f7a47516eb4556bb6b44e11a7c5d7ceeda403a427/30" data-source="--no-rebase-merges" onmousemove="i18n(this)">--no-rebase-merges</span></dt> <dd> <p><span data-i18n="df330933050aad69a4299e06a4298f33676dff64837513d53bbb33acde98b586/47" data-source="By default, a rebase will simply drop merge commits from the todo list, and put the rebased commits into a single, linear branch. With &lt;code&gt;--rebase-merges&lt;/code&gt;, the rebase will instead try to preserve the branching structure within the commits that are to be rebased, by recreating the merge commits. Any resolved merge conflicts or manual amendments in these merge commits will have to be resolved/re-applied manually. &lt;code&gt;--no-rebase-merges&lt;/code&gt; can be used to countermand both the &lt;code&gt;rebase.rebaseMerges&lt;/code&gt; config option and a previous &lt;code&gt;--rebase-merges&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&rcy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &icy;&zcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &zcy;&acy;&dcy;&acy;&chcy; &icy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &ocy;&dcy;&ncy;&ucy; &lcy;&icy;&ncy;&iecy;&jcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>--rebase-merges</code>  &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &scy;&tcy;&rcy;&ucy;&kcy;&tcy;&ucy;&rcy;&ucy; &vcy;&iecy;&tcy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy;, &pcy;&ucy;&tcy;&iecy;&mcy; &vcy;&ocy;&scy;&scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Lcy;&yucy;&bcy;&ycy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &rcy;&ucy;&chcy;&ncy;&ycy;&iecy; &pcy;&ocy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; &ecy;&tcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&tcy;&softcy;/&pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy;.  <code>--no-rebase-merges</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&ycy; &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&icy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>rebase.rebaseMerges</code> , &tcy;&acy;&kcy; &icy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy;  <code>--rebase-merges</code> .</span></p> <p><span data-i18n="eaae7da81fd5a380bff71486b76a49feca1c775c68d2b7bbeab91d8a5fe12eca/3f" data-source="When rebasing merges, there are two modes: &lt;code&gt;rebase-cousins&lt;/code&gt; and &lt;code&gt;no-rebase-cousins&lt;/code&gt;. If the mode is not specified, it defaults to &lt;code&gt;no-rebase-cousins&lt;/code&gt;. In &lt;code&gt;no-rebase-cousins&lt;/code&gt; mode, commits which do not have &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; as direct ancestor will keep their original branch point, i.e. commits that would be excluded by &lt;a href=&quot;git-log&quot;&gt;git-log[1]&lt;/a&gt;&amp;apos;s &lt;code&gt;--ancestry-path&lt;/code&gt; option will keep their original ancestry by default. In &lt;code&gt;rebase-cousins&lt;/code&gt; mode, such commits are instead rebased onto &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt; (or &lt;code&gt;&amp;lt;onto&amp;gt;&lt;/code&gt;, if specified)." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&jcy; &iecy;&scy;&tcy;&softcy; &dcy;&vcy;&acy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy;:  <code>rebase-cousins</code>  &icy;  <code>no-rebase-cousins</code> . &IEcy;&scy;&lcy;&icy; &rcy;&iecy;&zhcy;&icy;&mcy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>no-rebase-cousins</code> . &Vcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;  <code>no-rebase-cousins</code>  &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &ucy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&iecy;&tcy;  <code>&lt;upstream&gt;</code>  &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &pcy;&rcy;&yacy;&mcy;&ocy;&gcy;&ocy; &pcy;&rcy;&iecy;&dcy;&kcy;&acy;, &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&tcy; &scy;&vcy;&ocy;&yucy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &tcy;&ocy;&chcy;&kcy;&ucy; &vcy;&iecy;&tcy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &tcy;. &iecy;. &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ycy;&lcy;&icy; &bcy;&ycy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ycy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--ancestry-path</code> <a href="git-log.html">git-log[1]</a> , &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&tcy; &scy;&vcy;&ocy;&iecy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&iecy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Vcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;  <code>rebase-cousins</code>  &tcy;&acy;&kcy;&icy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &ncy;&acy;  <code>&lt;upstream&gt;</code>  (&icy;&lcy;&icy;  <code>&lt;onto&gt;</code> , &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;).</span></p> <p><span data-i18n="38325246ca0978797fa365259735b8a83139e02efda8c6179b918ccbd373c889/b5" data-source="It is currently only possible to recreate the merge commits using the &lt;code&gt;ort&lt;/code&gt; merge strategy; different merge strategies can be used only via explicit &lt;code&gt;exec git merge -s &amp;lt;strategy&amp;gt; [...]&lt;/code&gt; commands." onmousemove="i18n(this)">&Vcy; &ncy;&acy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy; &vcy;&ocy;&scy;&scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &mcy;&ocy;&zhcy;&ncy;&ocy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;  <code>ort</code> ; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &yacy;&vcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;  <code>exec git merge -s &lt;strategy&gt; [...]</code> .</span></p> <p><span data-i18n="bd4780e857cb0846b4d7b83715cd0e67b3efa0610ac9c81da622a94106e932a4/52" data-source="See also REBASING MERGES and INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Pcy;&IEcy;&Rcy;&IEcy;&Bcy;&Acy;&Zcy;&Icy;&Rcy;&Ocy;&Vcy;&Acy;&Ncy;&Icy;&IEcy; &Scy;&Lcy;&Icy;&YAcy;&Ncy;&Icy;&Jcy; &icy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt--xltcmdgt"><span data-i18n="e2ee097b53805048c5cbf9367c7735f915c552a8d06e093f3455d22080251633/5d" data-source="-x &amp;lt;cmd&amp;gt;" onmousemove="i18n(this)">-x &lt;cmd&gt;</span></dt> <dt id="Documentation/git-rebase.txt---execltcmdgt"><span data-i18n="31e9656e9f9f8aacdae2a19139b3b63ba49a83d0132291a476003b8bb6519330/18" data-source="--exec &amp;lt;cmd&amp;gt;" onmousemove="i18n(this)">--exec &lt;cmd&gt;</span></dt> <dd> <p><span data-i18n="7d02ffa1091ca77d3930b5fc5dc084f38ba079666d7b198728be82f9dd59b818/06" data-source="Append &amp;quot;exec &amp;lt;cmd&amp;gt;&amp;quot; after each line creating a commit in the final history. &lt;code&gt;&amp;lt;cmd&amp;gt;&lt;/code&gt; will be interpreted as one or more shell commands. Any command that fails will interrupt the rebase, with exit code 1." onmousemove="i18n(this)">&Dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&jcy;&tcy;&iecy;  &quot;exec &lt;cmd&gt;&quot;  &pcy;&ocy;&scy;&lcy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &scy;&ocy;&zcy;&dcy;&acy;&yucy;&shchcy;&iecy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &vcy; &icy;&tcy;&ocy;&gcy;&ocy;&vcy;&ocy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy;.  <code>&lt;cmd&gt;</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &kcy;&acy;&kcy; &ocy;&dcy;&ncy;&acy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&icy;. &Lcy;&yucy;&bcy;&acy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;, &pcy;&rcy;&iecy;&rcy;&vcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy; &kcy;&ocy;&dcy;&ocy;&mcy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; 1.</span></p> <p><span data-i18n="e359710cd2309b8fef471681b17005ed30ec6246f7d6274be28ba3cb2a6d927e/32" data-source="You may execute several commands by either using one instance of &lt;code&gt;--exec&lt;/code&gt; with several commands:" onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &ocy;&dcy;&icy;&ncy; &ecy;&kcy;&zcy;&iecy;&mcy;&pcy;&lcy;&yacy;&rcy;  <code>--exec</code>  &scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&mcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;:</span></p> <div> <div> <pre class="hljs language-bash">git rebase -i --<span class="hljs-built_in">exec</span> <span class="hljs-string">&quot;cmd1 &amp;&amp; cmd2 &amp;&amp; ...&quot;</span></pre> </div> </div> <p><span data-i18n="3a66188c860a4d82c2eecc6e9b0fda417351559c61f30b0becc1283e22a7b270/d4" data-source="or by giving more than one &lt;code&gt;--exec&lt;/code&gt;:" onmousemove="i18n(this)">&icy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&vcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy;  <code>--exec</code>  :</span></p> <div> <div> <pre class="hljs language-bash">git rebase -i --<span class="hljs-built_in">exec</span> <span class="hljs-string">&quot;cmd1&quot;</span> --<span class="hljs-built_in">exec</span> <span class="hljs-string">&quot;cmd2&quot;</span> --<span class="hljs-built_in">exec</span> ...</pre> </div> </div> <p><span data-i18n="542be37d08b089c279432dd42e3c0face231e988b1dc9090aeb0a9949e6aeef0/20" data-source="If &lt;code&gt;--autosquash&lt;/code&gt; is used, &lt;code&gt;exec&lt;/code&gt; lines will not be appended for the intermediate commits, and will only appear at the end of each squash/fixup series." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>--autosquash</code> , &scy;&tcy;&rcy;&ocy;&kcy;&icy;  <code>exec</code>  &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &pcy;&rcy;&ocy;&mcy;&iecy;&zhcy;&ucy;&tcy;&ocy;&chcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &icy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&ocy;&yacy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&iecy;&rcy;&icy;&icy; &scy;&kcy;&vcy;&ocy;&shcy;/&icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;.</span></p> <p><span data-i18n="4472a23f441d5381b327ff9c320eb6603af1352d0b67610d4569111e334e1632/f6" data-source="This uses the &lt;code&gt;--interactive&lt;/code&gt; machinery internally, but it can be run without an explicit &lt;code&gt;--interactive&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&icy;&jcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy;  <code>--interactive</code> , &ncy;&ocy; &iecy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&tcy;&softcy; &bcy;&iecy;&zcy; &yacy;&vcy;&ncy;&ocy;&gcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy;  <code>--interactive</code>  .</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---root"><span data-i18n="3f3f021882bb01963940c4a4a4a6ad549e90cf3f235e90f0c31b7f5589d320bc/78" data-source="--root" onmousemove="i18n(this)">--root</span></dt> <dd> <p><span data-i18n="114700d738ceeaaab36215d9cd8c79da1c3430d72ffbcadedded4cfcd267020c/05" data-source="Rebase all commits reachable from &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt;, instead of limiting them with an &lt;code&gt;&amp;lt;upstream&amp;gt;&lt;/code&gt;. This allows you to rebase the root commit(s) on a branch." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &vcy;&scy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&iecy; &icy;&zcy;  <code>&lt;branch&gt;</code> , &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&icy;&vcy;&acy;&tcy;&softcy; &icy;&khcy;  <code>&lt;upstream&gt;</code> . &Ecy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&acy;&mcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&ocy;&rcy;&ncy;&iecy;&vcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &vcy; &vcy;&iecy;&tcy;&kcy;&ucy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---autosquash"><span data-i18n="c27431d00bffdba87238a08922e914287646a78f3dd4cf72bb60cf0474e5ede2/74" data-source="--autosquash" onmousemove="i18n(this)">--autosquash</span></dt> <dt id="Documentation/git-rebase.txt---no-autosquash"><span data-i18n="db0374d3aff87af09c073540053af0dcd67786ee1ee3e0e0169ba5f0e0a594ea/78" data-source="--no-autosquash" onmousemove="i18n(this)">--no-autosquash</span></dt> <dd> <p><span data-i18n="f523611cb78e1216b73fa42c70ffae4ea9a6002bfcdce0fa790fa1807dbd6279/28" data-source="When the commit log message begins with &amp;quot;squash! &amp;hellip;&amp;ZeroWidthSpace;&amp;quot; or &amp;quot;fixup! &amp;hellip;&amp;ZeroWidthSpace;&amp;quot; or &amp;quot;amend! &amp;hellip;&amp;ZeroWidthSpace;&amp;quot;, and there is already a commit in the todo list that matches the same &lt;code&gt;...&lt;/code&gt;, automatically modify the todo list of &lt;code&gt;rebase -i&lt;/code&gt;, so that the commit marked for squashing comes right after the commit to be modified, and change the action of the moved commit from &lt;code&gt;pick&lt;/code&gt; to &lt;code&gt;squash&lt;/code&gt; or &lt;code&gt;fixup&lt;/code&gt; or &lt;code&gt;fixup -C&lt;/code&gt; respectively. A commit matches the &lt;code&gt;...&lt;/code&gt; if the commit subject matches, or if the &lt;code&gt;...&lt;/code&gt; refers to the commit&amp;rsquo;s hash. As a fall-back, partial matches of the commit subject work, too. The recommended way to create fixup/amend/squash commits is by using the &lt;code&gt;--fixup&lt;/code&gt;, &lt;code&gt;--fixup=amend:&lt;/code&gt; or &lt;code&gt;--fixup=reword:&lt;/code&gt; and &lt;code&gt;--squash&lt;/code&gt; options respectively of &lt;a href=&quot;git-commit&quot;&gt;git-commit[1]&lt;/a&gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy;  &quot;squash! &hellip;&ZeroWidthSpace;&quot; ,  &quot;fixup! &hellip;&ZeroWidthSpace;&quot;  &icy;&lcy;&icy;  &quot;amend! &hellip;&ZeroWidthSpace;&quot; , &acy; &vcy; &scy;&pcy;&icy;&scy;&kcy;&iecy; &zcy;&acy;&dcy;&acy;&chcy; &ucy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&acy;&yacy; &tcy;&ocy;&mcy;&ucy; &zhcy;&iecy;  <code>...</code> , &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &zcy;&acy;&dcy;&acy;&chcy;  <code>rebase -i</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;, &pcy;&ocy;&mcy;&iecy;&chcy;&iecy;&ncy;&ncy;&acy;&yacy; &dcy;&lcy;&yacy; &scy;&zhcy;&acy;&tcy;&icy;&yacy;, &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&lcy;&acy; &scy;&rcy;&acy;&zcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &vcy; &bcy;&ycy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy; &icy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&shchcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &scy;  <code>pick</code>  &ncy;&acy;  <code>squash</code>  &icy;&lcy;&icy;  <code>fixup</code>  &icy;&lcy;&icy;  <code>fixup -C</code>  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy;. &Kcy;&ocy;&mcy;&mcy;&icy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>...</code> , &iecy;&scy;&lcy;&icy; &tcy;&iecy;&mcy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &icy;&lcy;&icy; &iecy;&scy;&lcy;&icy;  <code>...</code>  &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &khcy;&iecy;&shcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &zcy;&acy;&pcy;&acy;&scy;&ncy;&ocy;&gcy;&ocy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&acy; &tcy;&acy;&kcy;&zhcy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&yucy;&tcy; &chcy;&acy;&scy;&tcy;&icy;&chcy;&ncy;&ycy;&iecy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&iecy;&ncy;&icy;&yacy; &tcy;&iecy;&mcy;&ycy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&mcy;&ycy;&jcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;/&icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;/&scy;&kcy;&vcy;&ocy;&shcy;&acy; &mdash; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&pcy;&tscy;&icy;&jcy;  <code>--fixup</code> ,  <code>--fixup=amend:</code>  &icy;&lcy;&icy;  <code>--fixup=reword:</code>  &icy;  <code>--squash</code>  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &dcy;&lcy;&yacy;  <a href="git-commit.html">git-commit[1]</a> .</span></p> <p><span data-i18n="116a372b36691df033de9c5378c0ee66937fcf96feaffde69f0e3759f39d0033/df" data-source="If the &lt;code&gt;--autosquash&lt;/code&gt; option is enabled by default using the configuration variable &lt;code&gt;rebase.autoSquash&lt;/code&gt;, this option can be used to override and disable this setting." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--autosquash</code>  &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&acy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>rebase.autoSquash</code> , &ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---autostash"><span data-i18n="435cb83f611ed4f692feaadeeb7dc510c27efd47355418ced95aba18d9bc1c16/47" data-source="--autostash" onmousemove="i18n(this)">--autostash</span></dt> <dt id="Documentation/git-rebase.txt---no-autostash"><span data-i18n="e5ea5d71c21b545a9814ce1be94fdf2c775156ea7c9c119441f5deae48ac38ab/89" data-source="--no-autostash" onmousemove="i18n(this)">--no-autostash</span></dt> <dd> <p><span data-i18n="a22b10c144f6e5d399523017284dc8486fe2d7bff1a740d9039102eefec9fb02/3a" data-source="Automatically create a temporary stash entry before the operation begins, and apply it after the operation ends. This means that you can run rebase on a dirty worktree. However, use with care: the final stash application after a successful rebase might result in non-trivial conflicts." onmousemove="i18n(this)">&Acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&tcy;&softcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &vcy; &tcy;&acy;&jcy;&ncy;&icy;&kcy;&iecy; &pcy;&iecy;&rcy;&iecy;&dcy; &ncy;&acy;&chcy;&acy;&lcy;&ocy;&mcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &iecy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;. &Ecy;&tcy;&ocy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; rebase &ncy;&acy; &laquo;&gcy;&rcy;&yacy;&zcy;&ncy;&ocy;&mcy;&raquo; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &bcy;&ucy;&dcy;&softcy;&tcy;&iecy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ycy;: &pcy;&rcy;&icy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&iecy; &ocy;&kcy;&ocy;&ncy;&chcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ecy;&shcy;&acy; &pcy;&ocy;&scy;&lcy;&iecy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&vcy;&iecy;&scy;&tcy;&icy; &kcy; &ncy;&iecy;&tcy;&rcy;&icy;&vcy;&icy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy;&mcy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt---reschedule-failed-exec"><span data-i18n="6448ae28ee697a5cbd6eb8a8bae42526e32593425bb0560b36a6ff57bf91ec53/2b" data-source="--reschedule-failed-exec" onmousemove="i18n(this)">--reschedule-failed-exec</span></dt> <dt id="Documentation/git-rebase.txt---no-reschedule-failed-exec"><span data-i18n="a7f3688188c54cbb6334f473a7ad50cff28ab23b05587e68d2a4feec9509d1f2/c1" data-source="--no-reschedule-failed-exec" onmousemove="i18n(this)">--no-reschedule-failed-exec</span></dt> <dd> <p><span data-i18n="30d543cf803df41160b7633695af03d5943be611ade751040bd93e3ce3b51dde/51" data-source="Automatically reschedule &lt;code&gt;exec&lt;/code&gt; commands that failed. This only makes sense in interactive mode (or when an &lt;code&gt;--exec&lt;/code&gt; option was provided)." onmousemove="i18n(this)">&Acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&iecy;&rcy;&iecy;&pcy;&lcy;&acy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>exec</code> . &Ecy;&tcy;&ocy; &icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy; (&icy;&lcy;&icy; &kcy;&ocy;&gcy;&dcy;&acy; &bcy;&ycy;&lcy;&acy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&ocy;&pcy;&tscy;&icy;&yacy;  <code>--exec</code> ).</span></p> <p><span data-i18n="91e795404aa4ec1803aa52e8d2fb8ba3cdadd0b2c05581cf8627b85b83165501/a0" data-source="This option applies once a rebase is started. It is preserved for the whole rebase based on, in order, the command line option provided to the initial &lt;code&gt;git
rebase&lt;/code&gt;, the &lt;code&gt;rebase.rescheduleFailedExec&lt;/code&gt; configuration (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; or &amp;quot;CONFIGURATION&amp;quot; below), or it defaults to false." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &ncy;&acy;&chcy;&acy;&lcy;&acy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Ocy;&ncy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&jcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy;, &pcy;&ocy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&ucy;, &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &dcy;&lcy;&yacy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>git
rebase</code> , &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>rebase.rescheduleFailedExec</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a>  &icy;&lcy;&icy;  &quot;CONFIGURATION&quot;  &ncy;&icy;&zhcy;&iecy;), &icy;&lcy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ocy;&ncy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; false.</span></p> <p><span data-i18n="f4069271ce20d84e826a488d9e73111412d273651ffa3f4daed4db95c0463c6e/1d" data-source="Recording this option for the whole rebase is a convenience feature. Otherwise an explicit &lt;code&gt;--no-reschedule-failed-exec&lt;/code&gt; at the start would be overridden by the presence of a &lt;code&gt;rebase.rescheduleFailedExec=true&lt;/code&gt; configuration when &lt;code&gt;git
rebase --continue&lt;/code&gt; is invoked. Currently, you cannot pass &lt;code&gt;--[no-]reschedule-failed-exec&lt;/code&gt; to &lt;code&gt;git rebase --continue&lt;/code&gt;." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&scy;&softcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &mdash; &ecy;&tcy;&ocy; &ucy;&dcy;&ocy;&bcy;&ncy;&acy;&yacy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yacy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &yacy;&vcy;&ncy;&ycy;&jcy;  <code>--no-reschedule-failed-exec</code>  &vcy; &ncy;&acy;&chcy;&acy;&lcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy;&mcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>rebase.rescheduleFailedExec=true</code>  &pcy;&rcy;&icy; &vcy;&ycy;&zcy;&ocy;&vcy;&iecy;  <code>git
rebase --continue</code> . &Vcy; &ncy;&acy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy; &vcy;&ycy; &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&tcy;&softcy;  <code>--[no-]reschedule-failed-exec</code>  &vcy;  <code>git rebase --continue</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt---update-refs"><span data-i18n="f7dd192377ebacc9a785821050e64fbb6e5f747a4c6450caa01faf979f7448b8/8f" data-source="--update-refs" onmousemove="i18n(this)">--update-refs</span></dt> <dt id="Documentation/git-rebase.txt---no-update-refs"><span data-i18n="8754fcdbc7488a9e128e95de2b48b39aa540f2b3475a5f8bdfa15f198117afea/12" data-source="--no-update-refs" onmousemove="i18n(this)">--no-update-refs</span></dt> <dd> <p><span data-i18n="058116f6984352b4778276c5af619c8a43c6eb94aa1fa5697f8071ed1a02481e/42" data-source="Automatically force-update any branches that point to commits that are being rebased. Any branches that are checked out in a worktree are not updated in this way." onmousemove="i18n(this)">&Acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;, &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&iecy; &ncy;&acy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;. &Lcy;&yucy;&bcy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;, &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy; &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;.</span></p> <p><span data-i18n="346cb023f319e9bc3a0d47ed526addedf819b2f6d77e62f8168bbbc449bd5dcb/8b" data-source="If the configuration variable &lt;code&gt;rebase.updateRefs&lt;/code&gt; is set, then this option can be used to override and disable this setting." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>rebase.updateRefs</code> , &tcy;&ocy; &ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &ecy;&tcy;&ocy;&jcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy;.</span></p> <p><span data-i18n="efbf2dd3707a1cb6986e1d30b9194c60f7f422d1c4df5fdd3620dba4daf6d843/30" data-source="See also INCOMPATIBLE OPTIONS below." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Ncy;&IEcy;&Scy;&Ocy;&Vcy;&Mcy;&IEcy;&Scy;&Tcy;&Icy;&Mcy;&Ycy;&IEcy; &Ocy;&Pcy;&TScy;&Icy;&Icy; &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_incompatible_options"><span data-i18n="f623bd50a54287c754d7e7f069bb76814954d0cc93aaaeee007556a90de2955a/3e" data-source="Incompatible options" onmousemove="i18n(this)">Incompatible options</span></h2> <div> <p><span data-i18n="5ffbc187bef20a4ded07aaec246eeedf48b7c85a7968f9d04e6e08b1f3b48989/af" data-source="The following options:" onmousemove="i18n(this)">&Scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy;:</span></p> <div> <ul> <li> <p><span data-i18n="712826b304390da68a904cadbfab9a2bdcaf498cbd2203fa309f411ab2073c9b/5a" data-source="--apply" onmousemove="i18n(this)">--apply</span></p> </li> <li> <p><span data-i18n="48eb8e8525cf1d5b60c36f890fc015d23ec35de39d6a5c574afdc0556563b6c5/92" data-source="--whitespace" onmousemove="i18n(this)">--whitespace</span></p> </li> <li> <p><span data-i18n="de75ad58228bf5f0ffb99b04dced17644f4cfda7acb7b64e3ade4f52ca496e73/56" data-source="-C" onmousemove="i18n(this)">-C</span></p> </li> </ul> </div> <p><span data-i18n="3fc78406b4d1466c9d01a827de96ee52607611a414226e9a7b97046e7b37f5ec/ba" data-source="are incompatible with the following options:" onmousemove="i18n(this)">&ncy;&iecy;&scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&icy;&mcy;&ycy; &scy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy;&icy; &ocy;&pcy;&tscy;&icy;&yacy;&mcy;&icy;:</span></p> <div> <ul> <li> <p><span data-i18n="8fb0e06813ad30153047701775d50b3c457f0df427ea7a690312a21a2e94ea2d/e9" data-source="--merge" onmousemove="i18n(this)">--merge</span></p> </li> <li> <p><span data-i18n="cca76aeb70beba8e99463434c9d3479f23f589db8bb3c53c1bd9468a4c331040/f0" data-source="--strategy" onmousemove="i18n(this)">--strategy</span></p> </li> <li> <p><span data-i18n="1c43197e2e8fe522c9b5f976881823674be7867c68dc03844ebaa8e25237f1c2/22" data-source="--strategy-option" onmousemove="i18n(this)">--strategy-option</span></p> </li> <li> <p><span data-i18n="c27431d00bffdba87238a08922e914287646a78f3dd4cf72bb60cf0474e5ede2/74" data-source="--autosquash" onmousemove="i18n(this)">--autosquash</span></p> </li> <li> <p><span data-i18n="d9c5a61bc32d71b87b006e4576c1424ddac108779122d15234d61a636b84731a/f3" data-source="--rebase-merges" onmousemove="i18n(this)">--rebase-merges</span></p> </li> <li> <p><span data-i18n="8de13a6788f37255da5b35cac31b207d90b4219bd9af6d3da5bc2a30a027dae9/6e" data-source="--interactive" onmousemove="i18n(this)">--interactive</span></p> </li> <li> <p><span data-i18n="20f5750393295eae518cdb42df43488d5a8d863cfd3fd0090b4e39429e741d26/a8" data-source="--exec" onmousemove="i18n(this)">--exec</span></p> </li> <li> <p><span data-i18n="be890648e9803023c830076447d4377d8160e51b3c4f5d02cfbc05447ae61fd6/16" data-source="--no-keep-empty" onmousemove="i18n(this)">--no-keep-empty</span></p> </li> <li> <p><span data-i18n="61391e20d9b6493448f6ae07f85c5d31170743fe8c77bdd00fe272b34257c816/71" data-source="--empty=" onmousemove="i18n(this)">--empty=</span></p> </li> <li> <p><span data-i18n="698a29630e798d8372c4889997822d5fb1f356e740a988629d703a9754ec8d2b/8c" data-source="--[no-]reapply-cherry-picks when used without --keep-base" onmousemove="i18n(this)">--[no-]reapply-cherry-picks &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &bcy;&iecy;&zcy; --keep-base</span></p> </li> <li> <p><span data-i18n="f7dd192377ebacc9a785821050e64fbb6e5f747a4c6450caa01faf979f7448b8/8f" data-source="--update-refs" onmousemove="i18n(this)">--update-refs</span></p> </li> <li> <p><span data-i18n="48632d63b33cbabc3f6c34075a95ed2bc63c6902e302f9e800beafb5e39f01ad/96" data-source="--root when used without --onto" onmousemove="i18n(this)">--root &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &bcy;&iecy;&zcy; --onto</span></p> </li> </ul> </div> <p><span data-i18n="d979ebaac928136d5ccb5785c789bc0d8c3883a443e55d6926cd2f5a570188ff/62" data-source="In addition, the following pairs of options are incompatible:" onmousemove="i18n(this)">&Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &ncy;&iecy;&scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&icy;&mcy;&ycy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &pcy;&acy;&rcy;&ycy; &ocy;&pcy;&tscy;&icy;&jcy;:</span></p> <div> <ul> <li> <p><span data-i18n="b24771d120b8005ce9da9e362b533e226dbc4cc683139080d8404691854ee2cf/1c" data-source="--keep-base and --onto" onmousemove="i18n(this)">--keep-base &icy; --onto</span></p> </li> <li> <p><span data-i18n="b868be087b830251fc63f1de06d012ea4257f1659a1c0b36b08624f2aa5ef26f/3e" data-source="--keep-base and --root" onmousemove="i18n(this)">--keep-base &icy; --root</span></p> </li> <li> <p><span data-i18n="531dcb2de7d4a02c254d03dcc5c030dd3a930da10d646f37ad6aee9fa5889639/a1" data-source="--fork-point and --root" onmousemove="i18n(this)">--fork-point &icy; --root</span></p> </li> </ul> </div> </div> <h2 class="text-body-emphasis"  id="_behavioral_differences"><span data-i18n="268a179f94c11ef6933a07fd73f04ae7b09af3825a01cb9ea916f4d78ca97760/f0" data-source="Behavioral differences" onmousemove="i18n(this)">Behavioral differences</span></h2> <div> <p><span data-i18n="52c965d6ce01aa3502503977b7fce4e559296a98b29dd4888aa901e68e18a0d4/07" data-source="&lt;code&gt;git rebase&lt;/code&gt; has two primary backends: &lt;code&gt;apply&lt;/code&gt; and &lt;code&gt;merge&lt;/code&gt;. (The &lt;code&gt;apply&lt;/code&gt; backend used to be known as the &lt;code&gt;am&lt;/code&gt; backend, but the name led to confusion as it looks like a verb instead of a noun. Also, the &lt;code&gt;merge&lt;/code&gt; backend used to be known as the interactive backend, but it is now used for non-interactive cases as well. Both were renamed based on lower-level functionality that underpinned each.) There are some subtle differences in how these two backends behave:" onmousemove="i18n(this)"><code>git rebase</code>  &icy;&mcy;&iecy;&iecy;&tcy; &dcy;&vcy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ycy;&khcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ycy;&khcy; &mcy;&ocy;&dcy;&ucy;&lcy;&yacy;:  <code>apply</code>  &icy;  <code>merge</code> . (&Rcy;&acy;&ncy;&softcy;&shcy;&iecy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &bcy;&ycy;&lcy;&acy; &icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&acy; &kcy;&acy;&kcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>am</code> , &ncy;&ocy; &ecy;&tcy;&ocy; &ncy;&acy;&zcy;&vcy;&acy;&ncy;&icy;&iecy; &pcy;&rcy;&icy;&vcy;&iecy;&lcy;&ocy; &kcy; &pcy;&ucy;&tcy;&acy;&ncy;&icy;&tscy;&iecy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ocy;&ncy;&ocy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&iecy;&lcy;&ocy; &kcy;&acy;&kcy; &gcy;&lcy;&acy;&gcy;&ocy;&lcy;, &acy; &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code>  &rcy;&acy;&ncy;&softcy;&shcy;&iecy; &bcy;&ycy;&lcy;&acy; &icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&acy; &kcy;&acy;&kcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&acy;&yacy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;, &ncy;&ocy; &tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &ocy;&ncy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &ncy;&iecy;&icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy;&iecy; &scy;&lcy;&ucy;&chcy;&acy;&icy;. &Ocy;&bcy;&acy; &bcy;&ycy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ycy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&ocy;&ncy;&acy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy; &ncy;&icy;&zhcy;&ncy;&iecy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;, &lcy;&iecy;&zhcy;&acy;&shchcy;&iecy;&jcy; &vcy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy;.) &IEcy;&scy;&tcy;&softcy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &tcy;&ocy;&ncy;&kcy;&icy;&iecy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&yacy; &vcy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&icy; &ecy;&tcy;&icy;&khcy; &dcy;&vcy;&ucy;&khcy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy;&ocy;&vcy;:</span></p> <div> <h3 class="text-body-emphasis"  id="_empty_commits"><span data-i18n="6cd877eb16a2725ed6320bc07aaf405e685dbbde6b4aea0105c0465e83469150/d0" data-source="Empty commits" onmousemove="i18n(this)">Empty commits</span></h3> <p><span data-i18n="5c321656db07f8cb91a115f0f280f0c0633bc9681177e9508ea2881dfa84c1b8/7c" data-source="The &lt;code&gt;apply&lt;/code&gt; backend unfortunately drops intentionally empty commits, i.e. commits that started empty, though these are rare in practice. It also drops commits that become empty and has no option for controlling this behavior." onmousemove="i18n(this)">&Kcy; &scy;&ocy;&zhcy;&acy;&lcy;&iecy;&ncy;&icy;&yucy;, &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy; &pcy;&ucy;&scy;&tcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &tcy;&ocy; &iecy;&scy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&acy;&lcy;&icy;&scy;&softcy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &khcy;&ocy;&tcy;&yacy; &ncy;&acy; &pcy;&rcy;&acy;&kcy;&tcy;&icy;&kcy;&iecy; &ecy;&tcy;&ocy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;&tcy;&scy;&yacy; &rcy;&iecy;&dcy;&kcy;&ocy;. &Ocy;&ncy; &tcy;&acy;&kcy;&zhcy;&iecy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &icy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&icy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&acy;&kcy;&ocy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;.</span></p> <p><span data-i18n="1dabeed15a56c667f71bf53c24a2603dc3d68c1a751176a7f8ad2d85ed315808/ea" data-source="The &lt;code&gt;merge&lt;/code&gt; backend keeps intentionally empty commits by default (though with &lt;code&gt;-i&lt;/code&gt; they are marked as empty in the todo list editor, or they can be dropped automatically with &lt;code&gt;--no-keep-empty&lt;/code&gt;)." onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy; &ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy; &pcy;&ucy;&scy;&tcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; (&khcy;&ocy;&tcy;&yacy; &vcy;  <code>-i</code>  &ocy;&ncy;&icy; &pcy;&ocy;&mcy;&iecy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &pcy;&ucy;&scy;&tcy;&ycy;&iecy; &vcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;&iecy; &scy;&pcy;&icy;&scy;&kcy;&acy; &zcy;&acy;&dcy;&acy;&chcy; &icy;&lcy;&icy; &icy;&khcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--no-keep-empty</code>  ).</span></p> <p><span data-i18n="402eb8e411060b631938fbcf6ada86af03e34a86e20cba7f41b940a6a29c259a/44" data-source="Similar to the apply backend, by default the merge backend drops commits that become empty unless &lt;code&gt;-i&lt;/code&gt;/&lt;code&gt;--interactive&lt;/code&gt; is specified (in which case it stops and asks the user what to do). The merge backend also has an &lt;code&gt;--empty=(drop|keep|ask)&lt;/code&gt; option for changing the behavior of handling commits that become empty." onmousemove="i18n(this)">&Pcy;&ocy;&dcy;&ocy;&bcy;&ncy;&ocy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy;&ucy; apply, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &bcy;&ecy;&kcy;&iecy;&ncy;&dcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>-i</code> / <code>--interactive</code>  (&vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ocy;&ncy; &ocy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &icy; &scy;&pcy;&rcy;&acy;&shcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;, &chcy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&tcy;&softcy;). &Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &tcy;&acy;&kcy;&zhcy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--empty=(drop|keep|ask)</code>  &dcy;&lcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&yacy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;&icy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_directory_rename_detection"><span data-i18n="c03aee0a0cffc149e1b4f4c2174170b59b89abea6ff500dd3558698a26735e38/d2" data-source="Directory rename detection" onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;</span></h3> <p><span data-i18n="061f2b3501a6eb85970f658bddbc9cb0a27c23ee2fb82464346013e5235b3f34/f5" data-source="Due to the lack of accurate tree information (arising from constructing fake ancestors with the limited information available in patches), directory rename detection is disabled in the &lt;code&gt;apply&lt;/code&gt; backend. Disabled directory rename detection means that if one side of history renames a directory and the other adds new files to the old directory, then the new files will be left behind in the old directory without any warning at the time of rebasing that you may want to move these files into the new directory." onmousemove="i18n(this)">&Icy;&zcy;-&zcy;&acy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&yacy; &tcy;&ocy;&chcy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy; (&vcy;&ocy;&zcy;&ncy;&icy;&kcy;&acy;&yucy;&shchcy;&iecy;&jcy; &icy;&zcy;-&zcy;&acy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &pcy;&ocy;&dcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &pcy;&rcy;&iecy;&dcy;&kcy;&ocy;&vcy; &scy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&iecy;&jcy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ocy;&jcy; &vcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;&khcy;), &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &vcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ocy;&jcy; &chcy;&acy;&scy;&tcy;&icy;  <code>apply</code> . &Ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ncy;&ocy;&iecy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &iecy;&scy;&lcy;&icy; &ocy;&dcy;&ncy;&acy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&ycy;&vcy;&acy;&iecy;&tcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &acy; &dcy;&rcy;&ucy;&gcy;&acy;&yacy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &ncy;&ocy;&vcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &scy;&tcy;&acy;&rcy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &tcy;&ocy; &ncy;&ocy;&vcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &ocy;&scy;&tcy;&acy;&ncy;&ucy;&tcy;&scy;&yacy; &vcy; &scy;&tcy;&acy;&rcy;&ocy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; &bcy;&iecy;&zcy; &kcy;&acy;&kcy;&ocy;&gcy;&ocy;-&lcy;&icy;&bcy;&ocy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &vcy;&ycy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &zcy;&acy;&khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&iecy; &ecy;&tcy;&icy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &ncy;&ocy;&vcy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;.</span></p> <p><span data-i18n="aaafc66080f8cf02356a6d19aaeebd60aa637fad07fdb22ee0da5efd380835ed/95" data-source="Directory rename detection works with the &lt;code&gt;merge&lt;/code&gt; backend to provide you warnings in such cases." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &scy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ocy;&jcy; &chcy;&acy;&scy;&tcy;&softcy;&yucy;  <code>merge</code>  &icy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&acy;&iecy;&tcy; &vcy;&acy;&scy; &vcy; &tcy;&acy;&kcy;&icy;&khcy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;&khcy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_context"><span data-i18n="a6e600a10fede40f648be37a700467776215ed2da3c271e9d02fa2987190a0a0/88" data-source="Context" onmousemove="i18n(this)">Context</span></h3> <p><span data-i18n="0e07f48459681682c94c13f10edaf135222607f4048de66fa1d2452752c4452c/5f" data-source="The &lt;code&gt;apply&lt;/code&gt; backend works by creating a sequence of patches (by calling &lt;code&gt;format-patch&lt;/code&gt; internally), and then applying the patches in sequence (calling &lt;code&gt;am&lt;/code&gt; internally). Patches are composed of multiple hunks, each with line numbers, a context region, and the actual changes. The line numbers have to be taken with some fuzz, since the other side will likely have inserted or deleted lines earlier in the file. The context region is meant to help find how to adjust the line numbers in order to apply the changes to the right lines. However, if multiple areas of the code have the same surrounding lines of context, the wrong one can be picked. There are real-world cases where this has caused commits to be reapplied incorrectly with no conflicts reported. Setting &lt;code&gt;diff.context&lt;/code&gt; to a larger value may prevent such types of problems, but increases the chance of spurious conflicts (since it will require more lines of matching context to apply)." onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &pcy;&ucy;&tcy;&iecy;&mcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; (&pcy;&ucy;&tcy;&iecy;&mcy; &vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&iecy;&gcy;&ocy; &vcy;&ycy;&zcy;&ocy;&vcy;&acy;  <code>format-patch</code> ), &acy; &zcy;&acy;&tcy;&iecy;&mcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; (&vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&iecy;&gcy;&ocy; &vcy;&ycy;&zcy;&ocy;&vcy;&acy;  <code>am</code> ). &Pcy;&acy;&tcy;&chcy;&icy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&tcy; &icy;&zcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy;, &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &icy;&mcy;&iecy;&iecy;&tcy; &ncy;&ocy;&mcy;&iecy;&rcy;&acy; &scy;&tcy;&rcy;&ocy;&kcy;, &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&ncy;&ucy;&yucy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&softcy; &icy; &fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &Ncy;&ocy;&mcy;&iecy;&rcy;&acy; &scy;&tcy;&rcy;&ocy;&kcy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &vcy;&zcy;&yacy;&tcy;&ycy; &scy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &rcy;&acy;&zcy;&mcy;&ycy;&tcy;&ocy;&scy;&tcy;&softcy;&yucy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &dcy;&rcy;&ucy;&gcy;&acy;&yacy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy;, &scy;&kcy;&ocy;&rcy;&iecy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy;, &vcy;&scy;&tcy;&acy;&vcy;&icy;&tcy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&icy;&tcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &rcy;&acy;&ncy;&iecy;&iecy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy;. &Kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&ncy;&acy;&yacy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&softcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&acy; &dcy;&lcy;&yacy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&mcy;&ocy;&chcy;&softcy; &ncy;&acy;&jcy;&tcy;&icy;, &kcy;&acy;&kcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &ncy;&ocy;&mcy;&iecy;&rcy;&acy; &scy;&tcy;&rcy;&ocy;&kcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &kcy; &ncy;&ucy;&zhcy;&ncy;&ycy;&mcy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;&mcy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &iecy;&scy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&iecy;&jcy; &kcy;&ocy;&dcy;&acy; &icy;&mcy;&iecy;&yucy;&tcy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy;&iecy; &ocy;&kcy;&rcy;&ucy;&zhcy;&acy;&yucy;&shchcy;&icy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; &ncy;&iecy; &tcy;&ucy;. &Scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &rcy;&iecy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &scy;&lcy;&ucy;&chcy;&acy;&icy;, &kcy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&lcy;&ocy; &kcy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy;&mcy;&ucy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy;&mcy;&ucy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &bcy;&iecy;&zcy; &kcy;&acy;&kcy;&icy;&khcy;-&lcy;&icy;&bcy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&jcy; &ocy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy;&khcy;. &Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&acy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy;&gcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;  <code>diff.context</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ycy; &tcy;&acy;&kcy;&ocy;&gcy;&ocy; &tcy;&icy;&pcy;&acy;, &ncy;&ocy; &ucy;&vcy;&iecy;&lcy;&icy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;&scy;&tcy;&softcy; &lcy;&ocy;&zhcy;&ncy;&ycy;&khcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; (&pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &dcy;&lcy;&yacy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy;).</span></p> <p><span data-i18n="fa67b53c6563108a845e8fe02e8f49a333467133ff24209673773e7705f1020c/53" data-source="The &lt;code&gt;merge&lt;/code&gt; backend works with a full copy of each relevant file, insulating it from these types of problems." onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code>  &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &scy; &pcy;&ocy;&lcy;&ncy;&ocy;&jcy; &kcy;&ocy;&pcy;&icy;&iecy;&jcy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;, &icy;&zcy;&ocy;&lcy;&icy;&rcy;&ucy;&yacy; &iecy;&gcy;&ocy; &ocy;&tcy; &pcy;&ocy;&dcy;&ocy;&bcy;&ncy;&ycy;&khcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_labelling_of_conflicts_markers"><span data-i18n="8962cf1c7bf658c71302568a4a696b37dfd2ee8fec8fb7334671775c5e08a2fe/e8" data-source="Labelling of conflicts markers" onmousemove="i18n(this)">&Mcy;&acy;&rcy;&kcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy; &mcy;&acy;&rcy;&kcy;&iecy;&rcy;&ocy;&vcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy;</span></h3> <p><span data-i18n="dcc2801c6106549a5bc215dd9068f035b7b617fdcf2433426dc46d38876c47cc/d0" data-source="When there are content conflicts, the merge machinery tries to annotate each side&amp;rsquo;s conflict markers with the commits where the content came from. Since the &lt;code&gt;apply&lt;/code&gt; backend drops the original information about the rebased commits and their parents (and instead generates new fake commits based off limited information in the generated patches), those commits cannot be identified; instead it has to fall back to a commit summary. Also, when &lt;code&gt;merge.conflictStyle&lt;/code&gt; is set to &lt;code&gt;diff3&lt;/code&gt; or &lt;code&gt;zdiff3&lt;/code&gt;, the &lt;code&gt;apply&lt;/code&gt; backend will use &amp;quot;constructed merge base&amp;quot; to label the content from the merge base, and thus provide no information about the merge base commit whatsoever." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&ncy;&ocy;&vcy;&iecy;&ncy;&icy;&icy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; &kcy;&ocy;&ncy;&tcy;&iecy;&ncy;&tcy;&acy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&mcy;&iecy;&tcy;&icy;&tcy;&softcy; &mcy;&acy;&rcy;&kcy;&iecy;&rcy;&ycy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ycy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy;, &ocy;&tcy;&kcy;&ucy;&dcy;&acy; &pcy;&ocy;&scy;&tcy;&ucy;&pcy;&icy;&lcy; &kcy;&ocy;&ncy;&tcy;&iecy;&ncy;&tcy;. &Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&khcy; &icy; &ZeroWidthSpace;&ZeroWidthSpace;&icy;&khcy; &rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&yacy;&khcy; (&icy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; &ncy;&ocy;&vcy;&ycy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &vcy; &scy;&gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &pcy;&acy;&tcy;&chcy;&acy;&khcy;), &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&tscy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ocy;&ncy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&softcy;&scy;&yacy; &kcy; &scy;&vcy;&ocy;&dcy;&kcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&ocy;&gcy;&dcy;&acy; &dcy;&lcy;&yacy;  <code>merge.conflictStyle</code>  &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>diff3</code>  &icy;&lcy;&icy;  <code>zdiff3</code> , &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  &quot;constructed merge base&quot;  &dcy;&lcy;&yacy; &mcy;&acy;&rcy;&kcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&gcy;&ocy; &icy;&zcy; &bcy;&acy;&zcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy;, &tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &ncy;&iecy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &ncy;&icy;&kcy;&acy;&kcy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &bcy;&acy;&zcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="c5d3e524e8ba7aa639f962ef5df04b8526edc008765b85437da4123e6510c6f9/f1" data-source="The &lt;code&gt;merge&lt;/code&gt; backend works with the full commits on both sides of history and thus has no such limitations." onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code>  &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &scy; &pcy;&ocy;&lcy;&ncy;&ycy;&mcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy; &scy; &ocy;&bcy;&iecy;&icy;&khcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &icy; &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&acy;&kcy;&icy;&khcy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&icy;&jcy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_hooks"><span data-i18n="d412a062620ef57bace76558a0384077b1919e66ba0a35af91e5a372f873e65e/9c" data-source="Hooks" onmousemove="i18n(this)">Hooks</span></h3> <p><span data-i18n="25e4ccb67759bef407f9760bc97c5fde414c6db803eb9c59128de727c4970582/b8" data-source="The &lt;code&gt;apply&lt;/code&gt; backend has not traditionally called the post-commit hook, while the &lt;code&gt;merge&lt;/code&gt; backend has. Both have called the post-checkout hook, though the &lt;code&gt;merge&lt;/code&gt; backend has squelched its output. Further, both backends only call the post-checkout hook with the starting point commit of the rebase, not the intermediate commits nor the final commit. In each case, the calling of these hooks was by accident of implementation rather than by design (both backends were originally implemented as shell scripts and happened to invoke other commands like &lt;code&gt;git checkout&lt;/code&gt; or &lt;code&gt;git commit&lt;/code&gt; that would call the hooks). Both backends should have the same behavior, though it is not entirely clear which, if any, is correct. We will likely make rebase stop calling either of these hooks in the future." onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &tcy;&rcy;&acy;&dcy;&icy;&tscy;&icy;&ocy;&ncy;&ncy;&ocy; &ncy;&iecy; &ncy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&ocy;&mcy; &pcy;&ocy;&scy;&lcy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &vcy; &ocy;&tcy;&lcy;&icy;&chcy;&icy;&iecy; &ocy;&tcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ocy;&jcy; &chcy;&acy;&scy;&tcy;&icy;  <code>merge</code> . &Ocy;&bcy;&acy; &vcy;&ycy;&zcy;&vcy;&acy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy; &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&fcy;&ocy;&rcy;&mcy;&lcy;&iecy;&ncy;&icy;&yacy; &zcy;&acy;&kcy;&acy;&zcy;&acy;, &khcy;&ocy;&tcy;&yacy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code>  &pcy;&ocy;&dcy;&acy;&vcy;&icy;&lcy;&acy; &iecy;&gcy;&ocy; &vcy;&ycy;&vcy;&ocy;&dcy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &ocy;&bcy;&acy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy;&acy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&yucy;&tcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy; post-checkout &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &tcy;&ocy;&chcy;&kcy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &acy; &ncy;&iecy; &scy; &pcy;&rcy;&ocy;&mcy;&iecy;&zhcy;&ucy;&tcy;&ocy;&chcy;&ncy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&iecy;&jcy; &icy;&lcy;&icy; &ocy;&kcy;&ocy;&ncy;&chcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&iecy;&jcy;. &Vcy; &kcy;&acy;&zhcy;&dcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &vcy;&ycy;&zcy;&ocy;&vcy; &ecy;&tcy;&icy;&khcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&ocy;&vcy; &bcy;&ycy;&lcy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy;, &acy; &ncy;&iecy; &ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&icy;&iecy;&mcy; (&ocy;&bcy;&acy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy;&acy; &icy;&zcy;&ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy; &bcy;&ycy;&lcy;&icy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&ocy;&vcy;&acy;&ncy;&ycy; &kcy;&acy;&kcy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&icy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&icy; &icy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&lcy;&icy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;, &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy;  <code>git checkout</code>  &icy;&lcy;&icy;  <code>git commit</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&icy;). &Ocy;&bcy;&acy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy;&acy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &vcy;&iecy;&scy;&tcy;&icy; &scy;&iecy;&bcy;&yacy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ocy;, &khcy;&ocy;&tcy;&yacy; &ncy;&iecy; &scy;&ocy;&vcy;&scy;&iecy;&mcy; &yacy;&scy;&ncy;&ocy;, &kcy;&acy;&kcy;&ocy;&iecy; &icy;&zcy; &ncy;&icy;&khcy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy;&iecy;. &Scy;&kcy;&ocy;&rcy;&iecy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy;, &vcy; &bcy;&ucy;&dcy;&ucy;&shchcy;&iecy;&mcy; &mcy;&ycy; &pcy;&rcy;&iecy;&kcy;&rcy;&acy;&tcy;&icy;&mcy; &vcy;&ycy;&zcy;&ocy;&vcy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &icy;&zcy; &ecy;&tcy;&icy;&khcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&ocy;&vcy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_interruptability"><span data-i18n="6c3db6c0a5142196d2b8b1d69d76bb91c0e7631505c691cccdb9085ab6fccf6b/18" data-source="Interruptability" onmousemove="i18n(this)">Interruptability</span></h3> <p><span data-i18n="ef1e4f9324f42d8d69999e32f48d84fa30c3cda9ac936ac85e7d207ade638544/6b" data-source="The &lt;code&gt;apply&lt;/code&gt; backend has safety problems with an ill-timed interrupt; if the user presses Ctrl-C at the wrong time to try to abort the rebase, the rebase can enter a state where it cannot be aborted with a subsequent &lt;code&gt;git rebase --abort&lt;/code&gt;. The &lt;code&gt;merge&lt;/code&gt; backend does not appear to suffer from the same shortcoming. (See &lt;a href=&quot;https://lore.kernel.org/git/20200207132152.GC2868@szeder.dev/&quot;&gt;https://lore.kernel.org/git/20200207132152.GC2868@szeder.dev/&lt;/a&gt; for details.)" onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &icy;&mcy;&iecy;&iecy;&tcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ycy; &scy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &icy;&zcy;-&zcy;&acy; &ncy;&iecy;&scy;&vcy;&ocy;&iecy;&vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&iecy;&rcy;&ycy;&vcy;&acy;&ncy;&icy;&yacy;; &iecy;&scy;&lcy;&icy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &ncy;&acy;&zhcy;&icy;&mcy;&acy;&iecy;&tcy; Ctrl-C &vcy; &ncy;&iecy;&pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&tcy;&softcy;&scy;&yacy; &pcy;&rcy;&iecy;&rcy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;, &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&jcy;&tcy;&icy; &vcy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy; &iecy;&gcy;&ocy; &ncy;&iecy;&lcy;&softcy;&zcy;&yacy; &pcy;&rcy;&iecy;&rcy;&vcy;&acy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy;  <code>git rebase --abort</code>  . &Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code> , &pcy;&ocy;&khcy;&ocy;&zhcy;&iecy;, &ncy;&iecy; &scy;&tcy;&rcy;&acy;&dcy;&acy;&iecy;&tcy; &ecy;&tcy;&icy;&mcy; &ncy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&tcy;&kcy;&ocy;&mcy;. (&Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&iecy;&iecy; &scy;&mcy;. &vcy;  <a href="https://lore.kernel.org/git/20200207132152.GC2868@szeder.dev/">https://lore.kernel.org/git/<span class="__cf_email__" data-cfemail="b7858785878785878086848586828599f0f4858f818ff7c4cdd2d3d2c599d3d2c1">[email&#160;protected]</span>/</a> .)</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_commit_rewording"><span data-i18n="673d2cc56d07e47ef72e160b818102826353546abc8174158a92c752c14bdde2/e6" data-source="Commit Rewording" onmousemove="i18n(this)">Commit Rewording</span></h3> <p><span data-i18n="dc6aa966f82591ea9576b839170bc2c67cbfefa1c571cf54a5264231ee661d7b/7a" data-source="When a conflict occurs while rebasing, rebase stops and asks the user to resolve. Since the user may need to make notable changes while resolving conflicts, after conflicts are resolved and the user has run &lt;code&gt;git rebase --continue&lt;/code&gt;, the rebase should open an editor and ask the user to update the commit message. The &lt;code&gt;merge&lt;/code&gt; backend does this, while the &lt;code&gt;apply&lt;/code&gt; backend blindly applies the original commit message." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&acy;&iecy;&tcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;, &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &icy; &pcy;&rcy;&ocy;&scy;&icy;&tcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &iecy;&gcy;&ocy;. &Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yucy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&tcy;&rcy;&iecy;&bcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;&ncy;&iecy;&scy;&tcy;&icy; &zcy;&acy;&mcy;&iecy;&tcy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&icy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&icy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy;, &pcy;&ocy;&scy;&lcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&ycy; &icy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&lcy;  <code>git rebase --continue</code> , &pcy;&rcy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &ocy;&tcy;&kcy;&rcy;&ycy;&tcy;&softcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy; &icy; &pcy;&ocy;&pcy;&rcy;&ocy;&scy;&icy;&tcy;&softcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;. &Ecy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge</code> , &acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy;  <code>apply</code>  &scy;&lcy;&iecy;&pcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_miscellaneous_differences"><span data-i18n="55809854eda0910c0ab0516084f8ec37eb3ede390ea4539818693992e27cb996/ab" data-source="Miscellaneous differences" onmousemove="i18n(this)">Miscellaneous differences</span></h3> <p><span data-i18n="23a09ef6718786a73534545602d10a20210fd089db77f420b876023ea7dd9943/5e" data-source="There are a few more behavioral differences that most folks would probably consider inconsequential but which are mentioned for completeness:" onmousemove="i18n(this)">&IEcy;&scy;&tcy;&softcy; &iecy;&shchcy;&iecy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&chcy;&iecy;&scy;&kcy;&icy;&khcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&ncy;&scy;&tcy;&vcy;&ocy; &lcy;&yucy;&dcy;&iecy;&jcy;, &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;, &pcy;&ocy;&scy;&chcy;&icy;&tcy;&acy;&lcy;&icy; &bcy;&ycy; &ncy;&iecy;&scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy;, &ncy;&ocy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ucy;&pcy;&ocy;&mcy;&yacy;&ncy;&ucy;&tcy;&ycy; &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ncy;&ocy;&tcy;&ycy; &kcy;&acy;&rcy;&tcy;&icy;&ncy;&ycy;:</span></p> <div> <ul> <li> <p><span data-i18n="0725f855e9ebcae3ccaa2e08ec6d52d162c4c7aa2bc91b3e38eb98295e1311bb/1f" data-source="Reflog: The two backends will use different wording when describing the changes made in the reflog, though both will make use of the word &amp;quot;rebase&amp;quot;." onmousemove="i18n(this)">Reflog: &dcy;&vcy;&acy; &bcy;&ecy;&kcy;&ecy;&ncy;&dcy;&acy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &fcy;&ocy;&rcy;&mcy;&ucy;&lcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &pcy;&rcy;&icy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&khcy; &vcy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &khcy;&ocy;&tcy;&yacy; &ocy;&bcy;&acy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&ocy;&vcy;&ocy;  &quot;rebase&quot; .</span></p> </li> <li> <p><span data-i18n="aea3c6a2e2c114d6168e9954fb83911062c524a94e92607c8acfb00ebf6a4aae/65" data-source="Progress, informational, and error messages: The two backends provide slightly different progress and informational messages. Also, the apply backend writes error messages (such as &amp;quot;Your files would be overwritten&amp;hellip;&amp;ZeroWidthSpace;&amp;quot;) to stdout, while the merge backend writes them to stderr." onmousemove="i18n(this)">&Scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy; &khcy;&ocy;&dcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy;, &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&ocy;&ncy;&ncy;&ycy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;&khcy;. &Dcy;&vcy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ycy;&khcy; &mcy;&ocy;&dcy;&ucy;&lcy;&yacy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy; &ncy;&iecy;&mcy;&ncy;&ocy;&gcy;&ocy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy; &khcy;&ocy;&dcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &icy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&ocy;&ncy;&ncy;&ycy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;&khcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;Your files would be overwritten&hellip;&ZeroWidthSpace;&quot; ) &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &vcy;&ycy;&vcy;&ocy;&dcy;, &acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; &icy;&khcy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &vcy;&ycy;&vcy;&ocy;&dcy;.</span></p> </li> <li> <p><span data-i18n="f10c41a6bca6e2b192ab0464fd8ccd70d83377243e6c1fc85032e06e9540565a/f9" data-source="State directories: The two backends keep their state in different directories under &lt;code&gt;.git/&lt;/code&gt;" onmousemove="i18n(this)">&Kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&jcy;: &dcy;&vcy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ycy;&khcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy; &khcy;&rcy;&acy;&ncy;&yacy;&tcy; &scy;&vcy;&ocy;&iecy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy; &vcy; &rcy;&acy;&zcy;&ncy;&ycy;&khcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&khcy; &pcy;&ocy;&dcy;  <code>.git/</code> .</span></p> </li> </ul> </div> </div> </div> <h2 class="text-body-emphasis"  id="_merge_strategies"><span data-i18n="f04f3abcca95c9c7aa9e8b0f221378af0eab4b2532396aa67123b38dd352f50b/7b" data-source="Merge strategies" onmousemove="i18n(this)">Merge strategies</span></h2> <div> <p><span data-i18n="4bd0d99df37329f0d1b26b0428ed1b55bc023123327f3d2a798acaa22c506fab/72" data-source="The merge mechanism (&lt;code&gt;git merge&lt;/code&gt; and &lt;code&gt;git pull&lt;/code&gt; commands) allows the backend &lt;code&gt;merge strategies&lt;/code&gt; to be chosen with &lt;code&gt;-s&lt;/code&gt; option. Some strategies can also take their own options, which can be passed by giving &lt;code&gt;-X&amp;lt;option&amp;gt;&lt;/code&gt; arguments to &lt;code&gt;git merge&lt;/code&gt; and/or &lt;code&gt;git pull&lt;/code&gt;." onmousemove="i18n(this)">&Mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; (&kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>git merge</code>  &icy;  <code>git pull</code> ) &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&ycy;&bcy;&icy;&rcy;&acy;&tcy;&softcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ucy;&yucy; &chcy;&acy;&scy;&tcy;&softcy;  <code>merge strategies</code>  &scy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>-s</code> . &Ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&mcy;&iecy;&tcy;&softcy; &scy;&vcy;&ocy;&icy; &scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&tcy;&softcy;, &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&vcy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy;  <code>-X&lt;option&gt;</code>  &vcy;  <code>git merge</code>  &icy;/&icy;&lcy;&icy;  <code>git pull</code> .</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt-ort"><span data-i18n="8273ef957736e504caa03e5ef80f29bb0e8c81916d935cf1c8aabcc408221650/eb" data-source="ort" onmousemove="i18n(this)">ort</span></dt> <dd> <p><span data-i18n="d46c624879a92ad901eade11f44f5602006ea4993e80d1a464aa4fd92fc7dbd0/f1" data-source="This is the default merge strategy when pulling or merging one branch. This strategy can only resolve two heads using a 3-way merge algorithm. When there is more than one common ancestor that can be used for 3-way merge, it creates a merged tree of the common ancestors and uses that as the reference tree for the 3-way merge. This has been reported to result in fewer merge conflicts without causing mismerges by tests done on actual merge commits taken from Linux 2.6 kernel development history. Additionally this strategy can detect and handle merges involving renames. It does not make use of detected copies. The name for this algorithm is an acronym (&amp;quot;Ostensibly Recursive&amp;rsquo;s Twin&amp;quot;) and came from the fact that it was written as a replacement for the previous default algorithm, &lt;code&gt;recursive&lt;/code&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&rcy;&icy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&icy; &icy;&lcy;&icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&icy; &ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;. &Ecy;&tcy;&acy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&vcy;&iecy; &gcy;&ocy;&lcy;&ocy;&vcy;&ycy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &pcy;&rcy;&iecy;&dcy;&kcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&ncy;&ocy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ocy;&bcy;&shchcy;&icy;&khcy; &pcy;&rcy;&iecy;&dcy;&kcy;&ocy;&vcy; &icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ocy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &dcy;&lcy;&yacy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &ecy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy;&mcy;&ucy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ucy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &ncy;&iecy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&yacy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&jcy;, &scy;&ocy;&gcy;&lcy;&acy;&scy;&ncy;&ocy; &tcy;&iecy;&scy;&tcy;&acy;&mcy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy; &ncy;&acy; &rcy;&iecy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &vcy;&zcy;&yacy;&tcy;&ycy;&khcy; &icy;&zcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &yacy;&dcy;&rcy;&acy; Linux 2.6. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &ecy;&tcy;&acy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&tcy;&softcy; &icy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &scy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;&mcy;&icy;. &Ocy;&ncy; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&pcy;&icy;&icy;. &Ncy;&acy;&zcy;&vcy;&acy;&ncy;&icy;&iecy; &ecy;&tcy;&ocy;&gcy;&ocy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy;&acy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &acy;&bcy;&bcy;&rcy;&iecy;&vcy;&icy;&acy;&tcy;&ucy;&rcy;&ocy;&jcy; ( &quot;Ostensibly Recursive&rsquo;s Twin&quot; ) &icy; &pcy;&rcy;&ocy;&icy;&zcy;&ocy;&shcy;&lcy;&ocy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy; &ocy;&ncy; &bcy;&ycy;&lcy; &ncy;&acy;&pcy;&icy;&scy;&acy;&ncy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &zcy;&acy;&mcy;&iecy;&ncy;&ycy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy;&acy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;  <code>recursive</code> .</span></p> <p><span data-i18n="9e5d6b138b850f15ca2bb831d39a4544dfd1018479c7a5b2498b1dce46ea3508/e2" data-source="The &lt;code&gt;ort&lt;/code&gt; strategy can take the following options:" onmousemove="i18n(this)">&Scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy;  <code>ort</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy;:</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt-ours"><span data-i18n="ae0bec9e9d33c56354bd612c8a6010840324fc5b9786ce0a18b696b304b09397/e0" data-source="ours" onmousemove="i18n(this)">ours</span></dt> <dd> <p><span data-i18n="65974079a399b218b3edde13a155a766522e5897c5c98be644dde60df760f868/f1" data-source="This option forces conflicting hunks to be auto-resolved cleanly by favoring &lt;code&gt;our&lt;/code&gt; version. Changes from the other tree that do not conflict with our side are reflected in the merge result. For a binary file, the entire contents are taken from our side." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ucy;&yucy;&shchcy;&icy;&iecy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ycy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&tcy;&softcy;&scy;&yacy;, &ocy;&tcy;&dcy;&acy;&vcy;&acy;&yacy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&chcy;&tcy;&iecy;&ncy;&icy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy;  <code>our</code> . &Icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&zcy; &dcy;&rcy;&ucy;&gcy;&ocy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ucy;&yucy;&tcy; &scy; &ncy;&acy;&shcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ocy;&jcy;, &ocy;&tcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Dcy;&lcy;&yacy; &bcy;&icy;&ncy;&acy;&rcy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &vcy;&scy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &bcy;&iecy;&rcy;&iecy;&tcy;&scy;&yacy; &scy; &ncy;&acy;&shcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ycy;.</span></p> <p><span data-i18n="c9b7c7d995df05185f3e0f5dd8b6ea4ad9f636e1cd149e7ec0df871980d4c271/51" data-source="This should not be confused with the &lt;code&gt;ours&lt;/code&gt; merge strategy, which does not even look at what the other tree contains at all. It discards everything the other tree did, declaring &lt;code&gt;our&lt;/code&gt; history contains all that happened in it." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &ncy;&iecy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &pcy;&ucy;&tcy;&acy;&tcy;&softcy; &scy;&ocy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&iecy;&jcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;  <code>ours</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &vcy;&ocy;&ocy;&bcy;&shchcy;&iecy; &ncy;&iecy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &dcy;&rcy;&ucy;&gcy;&ocy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;. &Ocy;&ncy; &ocy;&tcy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; &vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&lcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;, &ocy;&bcy;&hardcy;&yacy;&vcy;&lcy;&yacy;&yacy;, &chcy;&tcy;&ocy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy;  <code>our</code>  &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &vcy; &ncy;&iecy;&jcy; &pcy;&rcy;&ocy;&icy;&zcy;&ocy;&shcy;&lcy;&ocy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-theirs"><span data-i18n="4c55a8552a2c7261f61f798c2265e6f13358f326ae5b934096ff16bd15e62c33/01" data-source="theirs" onmousemove="i18n(this)">theirs</span></dt> <dd> <p><span data-i18n="26f1473b2b17d9a2405a600365678097fb4355099ea9959b4a61d79d5e924d66/65" data-source="This is the opposite of &lt;code&gt;ours&lt;/code&gt;; note that, unlike &lt;code&gt;ours&lt;/code&gt;, there is no &lt;code&gt;theirs&lt;/code&gt; merge strategy to confuse this merge option with." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ocy;&pcy;&ocy;&lcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy;  <code>ours</code> ; &ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy;, &vcy; &ocy;&tcy;&lcy;&icy;&chcy;&icy;&iecy; &ocy;&tcy;  <code>ours</code> , &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;  <code>theirs</code> , &scy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &bcy;&ycy; &scy;&pcy;&ucy;&tcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-ignore-space-change"><span data-i18n="273196c9bd7f9ae458abbff9dcc1dddc0270e1c86fdb7200c5e81f016032ed90/e2" data-source="ignore-space-change" onmousemove="i18n(this)">ignore-space-change</span></dt> <dt id="Documentation/git-rebase.txt-ignore-all-space"><span data-i18n="2eea45de972e4529e198572eba59078d67af8251f0a0e169aaa42ea54b4ae40a/23" data-source="ignore-all-space" onmousemove="i18n(this)">ignore-all-space</span></dt> <dt id="Documentation/git-rebase.txt-ignore-space-at-eol"><span data-i18n="ce73c9bb81f03bcdc6361adfbc3237e282ec86ed5d9109a9cc86249a18ebb6dc/c8" data-source="ignore-space-at-eol" onmousemove="i18n(this)">ignore-space-at-eol</span></dt> <dt id="Documentation/git-rebase.txt-ignore-cr-at-eol"><span data-i18n="aaa80055d4603b1d7303f80194bba7af7dac800349209bd0312caf9f91a5217f/04" data-source="ignore-cr-at-eol" onmousemove="i18n(this)">ignore-cr-at-eol</span></dt> <dd> <p> <span data-i18n="e3579b62a511ac1d752a1f5a168e704dc6466e2b5dace8fd51ee28167e8adacb/38" data-source="Treats lines with the indicated type of whitespace change as unchanged for the sake of a three-way merge. Whitespace changes mixed with other changes to a line are not ignored. See also &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;&lt;code&gt;-b&lt;/code&gt;, &lt;code&gt;-w&lt;/code&gt;, &lt;code&gt;--ignore-space-at-eol&lt;/code&gt;, and &lt;code&gt;--ignore-cr-at-eol&lt;/code&gt;." onmousemove="i18n(this)">&Scy;&chcy;&icy;&tcy;&acy;&iecy;&tcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &scy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy; &tcy;&icy;&pcy;&ocy;&mcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &dcy;&lcy;&yacy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;, &scy;&mcy;&iecy;&shcy;&acy;&ncy;&ncy;&ycy;&iecy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy; &vcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;, &ncy;&iecy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;. &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="git-diff.html">git-diff[1]</a> ,  <code>-b</code> ,  <code>-w</code> ,  <code>--ignore-space-at-eol</code>  &icy;  <code>--ignore-cr-at-eol</code> .</span></p> <div> <ul> <li> <p><span data-i18n="59b00965fc27019281d4fe1b3f4970262fb6c294b53759f198e21c76b350fa03/8f" data-source="If &lt;code&gt;their&lt;/code&gt; version only introduces whitespace changes to a line, &lt;code&gt;our&lt;/code&gt; version is used;" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;  <code>their</code>  &vcy;&vcy;&ocy;&dcy;&icy;&tcy; &vcy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;  <code>our</code> ;</span></p> </li> <li> <p><span data-i18n="1ed53308feac0fdae48bc15fa01578338c087b2e7eaf5f9c1f2e6bc8675baa0b/2c" data-source="If &lt;code&gt;our&lt;/code&gt; version introduces whitespace changes but &lt;code&gt;their&lt;/code&gt; version includes a substantial change, &lt;code&gt;their&lt;/code&gt; version is used;" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;  <code>our</code>  &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&khcy;, &acy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;  <code>their</code>  &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;  <code>their</code> ;</span></p> </li> <li> <p><span data-i18n="b40faf0106beb2527aaed2fa5bea6e363bd21c08e91304803a2637ba4e4568fc/1d" data-source="Otherwise, the merge proceeds in the usual way." onmousemove="i18n(this)">&Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&iecy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&mcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&ocy;&mcy;.</span></p> </li> </ul> </div> </dd> <dt id="Documentation/git-rebase.txt-renormalize"><span data-i18n="5f5058ebf63f2bbf2fc76358b2a64fd6e115ac1f79cf92524657a1b3d1c0df4a/8a" data-source="renormalize" onmousemove="i18n(this)">renormalize</span></dt> <dd> <p><span data-i18n="4dbba90a88a937de2d3a096961ea3215002c4af926e7ba139d7e0a814bf90b89/58" data-source="This runs a virtual check-out and check-in of all three stages of a file when resolving a three-way merge. This option is meant to be used when merging branches with different clean filters or end-of-line normalization rules. See &amp;quot;Merging branches with differing checkin/checkout attributes&amp;quot; in &lt;a href=&quot;gitattributes&quot;&gt;gitattributes[5]&lt;/a&gt; for details." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy;&icy;&rcy;&tcy;&ucy;&acy;&lcy;&softcy;&ncy;&ocy;&iecy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&iecy; &icy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy; &vcy;&scy;&iecy;&khcy; &tcy;&rcy;&iecy;&khcy; &ecy;&tcy;&acy;&pcy;&ocy;&vcy; &fcy;&acy;&jcy;&lcy;&acy; &pcy;&rcy;&icy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&icy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&acy; &dcy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&icy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &scy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&mcy;&icy; &chcy;&icy;&scy;&tcy;&ycy;&mcy;&icy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&acy;&mcy;&icy; &icy;&lcy;&icy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy;&mcy;&icy; &ncy;&ocy;&rcy;&mcy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &kcy;&ocy;&ncy;&tscy;&acy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  &quot;Merging branches with differing checkin/checkout attributes&quot;  &icy;  <a href="gitattributes.html">gitattributes[5]</a> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-no-renormalize"><span data-i18n="df1a755d89e7cfa2ca1fb5b6227851676733fa0b007fcf5209f126e1265f1ae5/1d" data-source="no-renormalize" onmousemove="i18n(this)">no-renormalize</span></dt> <dd> <p><span data-i18n="21d657b14d0114d59ad71f9c8c500868dd70140c65b48a3e954bc08856be817d/45" data-source="Disables the &lt;code&gt;renormalize&lt;/code&gt; option. This overrides the &lt;code&gt;merge.renormalize&lt;/code&gt; configuration variable." onmousemove="i18n(this)">&Ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>renormalize</code> . &Ecy;&tcy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>merge.renormalize</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-find-renamesltngt"><span data-i18n="4057dbc1fc03a1e35cfbe15e24db21be63c083b1a9ef8f342defe5350a60741b/eb" data-source="find-renames[=&amp;lt;n&amp;gt;]" onmousemove="i18n(this)">find-renames[=&lt;n&gt;]</span></dt> <dd> <p> <span data-i18n="796f509a49b9fef8a16f4c468e6ce0d27d7023ea173520002ad2f0a6b42ef9dc/08" data-source="Turn on rename detection, optionally setting the similarity threshold. This is the default. This overrides the &lt;code&gt;merge.renames&lt;/code&gt; configuration variable. See also &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;&lt;code&gt;--find-renames&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &pcy;&rcy;&icy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&vcy; &pcy;&ocy;&rcy;&ocy;&gcy; &scy;&khcy;&ocy;&dcy;&scy;&tcy;&vcy;&acy;. &Ecy;&tcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Ecy;&tcy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>merge.renames</code> . &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="git-diff.html">git-diff[1]</a> <code>--find-renames</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-rename-thresholdltngt"><span data-i18n="0047c18a3f806010fe97b4694256ec255d27643be7d4f2a1e43d3f56374ae76a/e5" data-source="rename-threshold=&amp;lt;n&amp;gt;" onmousemove="i18n(this)">rename-threshold=&lt;n&gt;</span></dt> <dd> <p><span data-i18n="7bf6b64fd8763f0d93b31e67cf6cf15e39b2d7dd9d34b32c547a9ba75b1da50a/93" data-source="Deprecated synonym for &lt;code&gt;find-renames=&amp;lt;n&amp;gt;&lt;/code&gt;." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&rcy;&iecy;&vcy;&shcy;&icy;&jcy; &scy;&icy;&ncy;&ocy;&ncy;&icy;&mcy;  <code>find-renames=&lt;n&gt;</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-subtreeltpathgt"><span data-i18n="efb8496fada54cf13d86bceb12430b313034a110e1637aac9057f9a807dce75b/49" data-source="subtree[=&amp;lt;path&amp;gt;]" onmousemove="i18n(this)">subtree[=&lt;path&gt;]</span></dt> <dd> <p><span data-i18n="5d265828b31e50599933b09bdf49081cedba5f7b0e42c53d4ac4847a8d059111/57" data-source="This option is a more advanced form of &lt;code&gt;subtree&lt;/code&gt; strategy, where the strategy makes a guess on how two trees must be shifted to match with each other when merging. Instead, the specified path is prefixed (or stripped from the beginning) to make the shape of two trees to match." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&rcy;&ocy;&dcy;&vcy;&icy;&ncy;&ucy;&tcy;&ucy;&yucy; &fcy;&ocy;&rcy;&mcy;&ucy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy;  <code>subtree</code> , &gcy;&dcy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&tcy;, &kcy;&acy;&kcy; &dcy;&vcy;&acy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &scy;&dcy;&vcy;&icy;&ncy;&ucy;&tcy;&ycy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy;&icy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&lcy;&icy; &dcy;&rcy;&ucy;&gcy; &scy; &dcy;&rcy;&ucy;&gcy;&ocy;&mcy; &pcy;&rcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&icy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &kcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &pcy;&ucy;&tcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy; (&icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &scy; &scy;&acy;&mcy;&ocy;&gcy;&ocy; &ncy;&acy;&chcy;&acy;&lcy;&acy;), &chcy;&tcy;&ocy;&bcy;&ycy; &fcy;&ocy;&rcy;&mcy;&acy; &dcy;&vcy;&ucy;&khcy; &dcy;&iecy;&rcy;&iecy;&vcy;&softcy;&iecy;&vcy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&lcy;&acy;.</span></p> </dd> </dl> </div> </dd> <dt id="Documentation/git-rebase.txt-recursive"><span data-i18n="21ce078705d04ca6324c1d0313fc08ea99f3cef6389a6744d40bd2d9d0cd7816/68" data-source="recursive" onmousemove="i18n(this)">recursive</span></dt> <dd> <p><span data-i18n="23742e697c92a6eaf17173191d248312473b41e07b75c139eeca9c4f32456d31/84" data-source="This can only resolve two heads using a 3-way merge algorithm. When there is more than one common ancestor that can be used for 3-way merge, it creates a merged tree of the common ancestors and uses that as the reference tree for the 3-way merge. This has been reported to result in fewer merge conflicts without causing mismerges by tests done on actual merge commits taken from Linux 2.6 kernel development history. Additionally this can detect and handle merges involving renames. It does not make use of detected copies. This was the default strategy for resolving two heads from Git v0.99.9k until v2.33.0." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&vcy;&iecy; &gcy;&ocy;&lcy;&ocy;&vcy;&ycy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &pcy;&rcy;&iecy;&dcy;&kcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&ncy;&ocy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ocy;&bcy;&shchcy;&icy;&khcy; &pcy;&rcy;&iecy;&dcy;&kcy;&ocy;&vcy; &icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ocy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &dcy;&lcy;&yacy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &ecy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy;&mcy;&ucy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ucy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &ncy;&iecy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&yacy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&jcy;, &scy;&ocy;&gcy;&lcy;&acy;&scy;&ncy;&ocy; &tcy;&iecy;&scy;&tcy;&acy;&mcy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy; &ncy;&acy; &rcy;&iecy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &vcy;&zcy;&yacy;&tcy;&ycy;&khcy; &icy;&zcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &yacy;&dcy;&rcy;&acy; Linux 2.6. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&tcy;&softcy; &icy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &scy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;&mcy;&icy;. &Ocy;&ncy; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&pcy;&icy;&icy;. &Ecy;&tcy;&ocy; &bcy;&ycy;&lcy;&acy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &dcy;&vcy;&ucy;&khcy; &gcy;&ocy;&lcy;&ocy;&vcy;&ocy;&kcy; &ocy;&tcy;  Git  v0.99.9k &dcy;&ocy; v2.33.0.</span></p> <p><span data-i18n="35346110008aa623e2810dc1ad4dcb4640d658a75cfc63249445c3b27828d0d9/f4" data-source="The &lt;code&gt;recursive&lt;/code&gt; strategy takes the same options as &lt;code&gt;ort&lt;/code&gt;. However, there are three additional options that &lt;code&gt;ort&lt;/code&gt; ignores (not documented above) that are potentially useful with the &lt;code&gt;recursive&lt;/code&gt; strategy:" onmousemove="i18n(this)">&Scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy;  <code>recursive</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &tcy;&iecy; &zhcy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;, &chcy;&tcy;&ocy; &icy;  <code>ort</code> . &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &iecy;&scy;&tcy;&softcy; &tcy;&rcy;&icy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy;  <code>ort</code>  &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; (&ncy;&iecy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ycy; &vcy;&ycy;&shcy;&iecy;), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&ocy;&tcy;&iecy;&ncy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy; &dcy;&lcy;&yacy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy;  <code>recursive</code> :</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt-patience"><span data-i18n="96d61fe343ddf5e0d8d68b1d0b08b9af50973a0ebdd38021fae327bbea1b4c13/ce" data-source="patience" onmousemove="i18n(this)">patience</span></dt> <dd> <p><span data-i18n="d2a291da10b374741e2b23e9f9572c9c6c77becc4abcc14306d54df1608594d9/1b" data-source="Deprecated synonym for &lt;code&gt;diff-algorithm=patience&lt;/code&gt;." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&rcy;&iecy;&vcy;&shcy;&icy;&jcy; &scy;&icy;&ncy;&ocy;&ncy;&icy;&mcy;  <code>diff-algorithm=patience</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-diff-algorithmpatienceminimalhistogrammyers"><span data-i18n="412149d2f95714e40ca33b280a92e9aa4100af8e0f1da3149493c7f65ea8682d/1f" data-source="diff-algorithm=[patience|minimal|histogram|myers]" onmousemove="i18n(this)">diff-algorithm=[patience|minimal|histogram|myers]</span></dt> <dd> <p> <span data-i18n="59b389c14927368b86cd087acabcc7066910786bf4689b68d4057be7898ca045/7d" data-source="Use a different diff algorithm while merging, which can help avoid mismerges that occur due to unimportant matching lines (such as braces from distinct functions). See also &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;&lt;code&gt;--diff-algorithm&lt;/code&gt;. Note that &lt;code&gt;ort&lt;/code&gt; specifically uses &lt;code&gt;diff-algorithm=histogram&lt;/code&gt;, while &lt;code&gt;recursive&lt;/code&gt; defaults to the &lt;code&gt;diff.algorithm&lt;/code&gt; config setting." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&icy;, &chcy;&tcy;&ocy; &pcy;&ocy;&mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&acy;&yucy;&shchcy;&icy;&khcy; &icy;&zcy;-&zcy;&acy; &ncy;&iecy;&vcy;&acy;&zhcy;&ncy;&ycy;&khcy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&yucy;&shchcy;&icy;&khcy; &scy;&tcy;&rcy;&ocy;&kcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &fcy;&icy;&gcy;&ucy;&rcy;&ncy;&ycy;&khcy; &scy;&kcy;&ocy;&bcy;&ocy;&kcy; &icy;&zcy; &rcy;&acy;&zcy;&ncy;&ycy;&khcy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&jcy;). &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="git-diff.html">git-diff[1]</a> <code>--diff-algorithm</code> . &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy;  <code>ort</code>  &scy;&pcy;&iecy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;  <code>diff-algorithm=histogram</code> , &acy;  <code>recursive</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&ucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>diff.algorithm</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-no-renames"><span data-i18n="c309ba21929e3539cf3927e16db200150677fa0880e015650b356537482681cd/ff" data-source="no-renames" onmousemove="i18n(this)">no-renames</span></dt> <dd> <p> <span data-i18n="39b3e466197b313b5fe1a4700a90b358dd40e2948427255a29959de2555d1df3/0b" data-source="Turn off rename detection. This overrides the &lt;code&gt;merge.renames&lt;/code&gt; configuration variable. See also &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;&lt;code&gt;--no-renames&lt;/code&gt;." onmousemove="i18n(this)">&Ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Ecy;&tcy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>merge.renames</code> . &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="git-diff.html">git-diff[1]</a> <code>--no-renames</code> .</span></p> </dd> </dl> </div> </dd> <dt id="Documentation/git-rebase.txt-resolve"><span data-i18n="fdf09cdfc26cccf610edccd7f9b558e1ce0a793a4ee57f8306df9058f1aa929b/b8" data-source="resolve" onmousemove="i18n(this)">resolve</span></dt> <dd> <p><span data-i18n="399c1d3e2128d1a61cefcc6c10e8d538ab8515c44b2158aa61541448c703f9b7/a1" data-source="This can only resolve two heads (i.e. the current branch and another branch you pulled from) using a 3-way merge algorithm. It tries to carefully detect criss-cross merge ambiguities. It does not handle renames." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&vcy;&iecy; &gcy;&ocy;&lcy;&ocy;&vcy;&ycy; (&tcy;. &iecy;. &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &icy; &dcy;&rcy;&ucy;&gcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &vcy;&ycy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&lcy;&icy;) &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy;&acy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Ocy;&ncy; &pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &tcy;&shchcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&tcy;&softcy; &ncy;&iecy;&ocy;&dcy;&ncy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&ocy;&scy;&tcy;&icy; &pcy;&iecy;&rcy;&iecy;&kcy;&rcy;&iecy;&scy;&tcy;&ncy;&ocy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Ocy;&ncy; &ncy;&iecy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-octopus"><span data-i18n="5633c9b8af6d089859afcbec42fdc03f8c407aaba9668218b433bd4959911465/49" data-source="octopus" onmousemove="i18n(this)">octopus</span></dt> <dd> <p><span data-i18n="8baa5b9deb45613ef88030c490de4efc39e1638796822db97cb936ccb34a6079/f6" data-source="This resolves cases with more than two heads, but refuses to do a complex merge that needs manual resolution. It is primarily meant to be used for bundling topic branch heads together. This is the default merge strategy when pulling or merging more than one branch." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&iecy;&tcy; &scy;&lcy;&ucy;&chcy;&acy;&icy; &scy; &bcy;&ocy;&lcy;&iecy;&iecy; &chcy;&iecy;&mcy; &dcy;&vcy;&ucy;&mcy;&yacy; &gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&acy;&mcy;&icy;, &ncy;&ocy; &ocy;&tcy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &scy;&lcy;&ocy;&zhcy;&ncy;&ocy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&iecy;, &tcy;&rcy;&iecy;&bcy;&ucy;&yucy;&shchcy;&iecy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy;. &Vcy; &pcy;&iecy;&rcy;&vcy;&ucy;&yucy; &ocy;&chcy;&iecy;&rcy;&iecy;&dcy;&softcy; &ocy;&ncy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&yacy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&ocy;&vcy; &tcy;&iecy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;. &Ecy;&tcy;&ocy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&rcy;&icy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&icy; &icy;&lcy;&icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&icy; &bcy;&ocy;&lcy;&iecy;&iecy; &chcy;&iecy;&mcy; &ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-ours-1"><span data-i18n="ae0bec9e9d33c56354bd612c8a6010840324fc5b9786ce0a18b696b304b09397/e0" data-source="ours" onmousemove="i18n(this)">ours</span></dt> <dd> <p><span data-i18n="9a1e85201b20a75041aa78b447263a7c7c58c2639c886bf09762a1f2aa5e1484/69" data-source="This resolves any number of heads, but the resulting tree of the merge is always that of the current branch head, effectively ignoring all changes from all other branches. It is meant to be used to supersede old development history of side branches. Note that this is different from the -Xours option to the &lt;code&gt;recursive&lt;/code&gt; merge strategy." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&iecy;&tcy;&scy;&yacy; &lcy;&yucy;&bcy;&ocy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &gcy;&ocy;&lcy;&ocy;&vcy;, &ncy;&ocy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&icy;&rcy;&ucy;&yucy;&shchcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;&mcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &gcy;&ocy;&lcy;&ocy;&vcy;&ycy; &vcy;&iecy;&tcy;&kcy;&icy;, &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yacy; &vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&zcy; &vcy;&scy;&iecy;&khcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;. &Ocy;&ncy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &zcy;&acy;&mcy;&iecy;&ncy;&ycy; &scy;&tcy;&acy;&rcy;&ocy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &rcy;&acy;&zcy;&vcy;&icy;&tcy;&icy;&yacy; &pcy;&ocy;&bcy;&ocy;&chcy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &ecy;&tcy;&ocy; &ocy;&tcy;&lcy;&icy;&chcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy; &ocy;&pcy;&tscy;&icy;&icy; -Xours &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;  <code>recursive</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-subtree"><span data-i18n="0a0369a8dc42658354e0c10425f84a0c95226ba213f2cf571cc056cb757434a2/ec" data-source="subtree" onmousemove="i18n(this)">subtree</span></dt> <dd> <p><span data-i18n="4baa78badb197133e827b45bbaf6145c28a9f65d3d4a526261199ae13faaf0be/ec" data-source="This is a modified &lt;code&gt;ort&lt;/code&gt; strategy. When merging trees A and B, if B corresponds to a subtree of A, B is first adjusted to match the tree structure of A, instead of reading the trees at the same level. This adjustment is also done to the common ancestor tree." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &mcy;&ocy;&dcy;&icy;&fcy;&icy;&tscy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&acy;&yacy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy;  <code>ort</code> . &Pcy;&rcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&icy; &dcy;&iecy;&rcy;&iecy;&vcy;&softcy;&iecy;&vcy; A &icy; B, &iecy;&scy;&lcy;&icy; B &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&iecy;&vcy;&ucy; A, B &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &ncy;&acy;&scy;&tcy;&rcy;&acy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &tcy;&acy;&kcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy;&ocy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&lcy;&ocy; &dcy;&rcy;&iecy;&vcy;&ocy;&vcy;&icy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ucy;&kcy;&tcy;&ucy;&rcy;&iecy; A, &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &dcy;&iecy;&rcy;&iecy;&vcy;&softcy;&iecy;&vcy; &ncy;&acy; &ocy;&dcy;&ncy;&ocy;&mcy; &ucy;&rcy;&ocy;&vcy;&ncy;&iecy;. &Ecy;&tcy;&acy; &kcy;&ocy;&rcy;&rcy;&iecy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy; &tcy;&acy;&kcy;&zhcy;&iecy; &vcy;&ncy;&ocy;&scy;&icy;&tcy;&scy;&yacy; &vcy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &pcy;&rcy;&iecy;&dcy;&kcy;&acy;.</span></p> </dd> </dl> </div> <p><span data-i18n="9169821fddf88965e9cb12645db382d477ac771fcf54a57f25f04a48b7dfd2b7/f2" data-source="With the strategies that use 3-way merge (including the default, &lt;code&gt;ort&lt;/code&gt;), if a change is made on both branches, but later reverted on one of the branches, that change will be present in the merged result; some people find this behavior confusing. It occurs because only the heads and the merge base are considered when performing a merge, not the individual commits. The merge algorithm therefore considers the reverted change as no change at all, and substitutes the changed version instead." onmousemove="i18n(this)">&Vcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yacy;&khcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&shchcy;&icy;&khcy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&iecy; (&vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ucy;&yucy;  <code>ort</code>  ), &iecy;&scy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ocy; &vcy; &ocy;&bcy;&iecy; &vcy;&iecy;&tcy;&vcy;&icy;, &ncy;&ocy; &pcy;&ocy;&zcy;&zhcy;&iecy; &ocy;&tcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ocy; &vcy; &ocy;&dcy;&ncy;&ocy;&jcy; &icy;&zcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &ecy;&tcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy;; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &lcy;&yucy;&dcy;&iecy;&jcy; &tcy;&acy;&kcy;&ocy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &scy;&bcy;&icy;&vcy;&acy;&iecy;&tcy; &scy; &tcy;&ocy;&lcy;&kcy;&ucy;. &Ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy; &pcy;&ocy;&tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &gcy;&ocy;&lcy;&ocy;&vcy;&ycy; &icy; &bcy;&acy;&zcy;&acy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &acy; &ncy;&iecy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;. &Pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy;&chcy;&icy;&tcy;&acy;&iecy;&tcy; &ocy;&tcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ocy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &vcy;&ocy;&ocy;&bcy;&shchcy;&iecy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy;&mcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &zcy;&acy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ucy;&yucy; &vcy;&iecy;&rcy;&scy;&icy;&yucy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_notes"><span data-i18n="8a7525b1492fb84833f5c4a69b30f4bfbb134f9b666b61a2c1872d63d234c085/bb" data-source="Notes" onmousemove="i18n(this)">Notes</span></h2> <div> <p><span data-i18n="ad4705f21a3943951d16c44de91ed356935862a9a7339455dda50bc1f318445b/63" data-source="You should understand the implications of using &lt;code&gt;git rebase&lt;/code&gt; on a repository that you share. See also RECOVERING FROM UPSTREAM REBASE below." onmousemove="i18n(this)">&Vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &pcy;&ocy;&ncy;&icy;&mcy;&acy;&tcy;&softcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&scy;&tcy;&vcy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;  <code>git rebase</code>  &vcy; &ocy;&bcy;&shchcy;&iecy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;. &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy; &Vcy;&Ocy;&Scy;&Scy;&Tcy;&Acy;&Ncy;&Ocy;&Vcy;&Lcy;&IEcy;&Ncy;&Icy;&IEcy; &Icy;&Zcy; UpSTREAM REBASE &ncy;&icy;&zhcy;&iecy;.</span></p> <p><span data-i18n="359a67d580327a727ca8bef392303878801bf87f49e58d320158c0e1be773597/57" data-source="When the rebase is run, it will first execute a &lt;code&gt;pre-rebase&lt;/code&gt; hook if one exists. You can use this hook to do sanity checks and reject the rebase if it isn&amp;rsquo;t appropriate. Please see the template &lt;code&gt;pre-rebase&lt;/code&gt; hook script for an example." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;  <code>pre-rebase</code> , &iecy;&scy;&lcy;&icy; &ocy;&ncy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &kcy;&rcy;&yucy;&chcy;&ocy;&kcy; &dcy;&lcy;&yacy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy; &rcy;&acy;&bcy;&ocy;&tcy;&ocy;&scy;&pcy;&ocy;&scy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &icy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&ocy; &ncy;&iecy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&icy;&tcy;. &Pcy;&rcy;&icy;&mcy;&iecy;&rcy; &scy;&mcy;. &vcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&iecy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&acy;  <code>pre-rebase</code> .</span></p> <p><span data-i18n="2adc4753af1625686cea7e575983e3bbced90285abdf95609a8ef8ee8ad0bc86/fd" data-source="Upon completion, &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt; will be the current branch." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy; &scy;&tcy;&acy;&ncy;&iecy;&tcy;  <code>&lt;branch&gt;</code> .</span></p> </div> <h2 class="text-body-emphasis"  id="_interactive_mode"><span data-i18n="8fedf63610c647aa1990ec2b36fff7c0f2313fa6bfb0afab6d75fd56e8073a9f/9c" data-source="Interactive mode" onmousemove="i18n(this)">Interactive mode</span></h2> <div> <p><span data-i18n="6ab9074620626f68e3f22309d5d19bad1f61986ecfd3b639a9a314cdde752669/88" data-source="Rebasing interactively means that you have a chance to edit the commits which are rebased. You can reorder the commits, and you can remove them (weeding out bad or otherwise unwanted patches)." onmousemove="i18n(this)">&Icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ucy; &vcy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &pcy;&ocy;&rcy;&yacy;&dcy;&ocy;&kcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &icy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &icy;&khcy; (&ucy;&dcy;&acy;&lcy;&yacy;&yacy; &pcy;&lcy;&ocy;&khcy;&icy;&iecy; &icy;&lcy;&icy; &icy;&ncy;&ycy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy; &ncy;&iecy;&zhcy;&iecy;&lcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;).</span></p> <p><span data-i18n="6de72783fddf40b14220e6572b88fc453f0df2c8cfb930acc326d8fc5a573d93/6a" data-source="The interactive mode is meant for this type of workflow:" onmousemove="i18n(this)">&Icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &rcy;&iecy;&zhcy;&icy;&mcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &tcy;&acy;&kcy;&ocy;&gcy;&ocy; &tcy;&icy;&pcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&acy;:</span></p> <div> <ol> <li> <p><span data-i18n="15e87fd63e0911e56e0446a442021e4369eea6a089df33407ffba7cb84c4cd34/85" data-source="have a wonderful idea" onmousemove="i18n(this)">&iecy;&scy;&tcy;&softcy; &zcy;&acy;&mcy;&iecy;&chcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&acy;&yacy; &icy;&dcy;&iecy;&yacy;</span></p> </li> <li> <p><span data-i18n="76d987d827c36aef548da28260dfc471e7a4d4588268bbb4fc9afa95ad870b2c/66" data-source="hack on the code" onmousemove="i18n(this)">&vcy;&zcy;&lcy;&ocy;&mcy;&acy;&tcy;&softcy; &kcy;&ocy;&dcy;</span></p> </li> <li> <p><span data-i18n="08a4402cc972a2da7aa42d50f404ce599add283aadb906649c9b72be89bb5c23/99" data-source="prepare a series for submission" onmousemove="i18n(this)">&pcy;&ocy;&dcy;&gcy;&ocy;&tcy;&ocy;&vcy;&icy;&tcy;&softcy; &scy;&iecy;&rcy;&icy;&yucy; &kcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy;</span></p> </li> <li> <p><span data-i18n="75490bd7b93e6fa7d18cfdea90cc6bcb983d5f3ea326249d2709ca6c94bc07ba/6b" data-source="submit" onmousemove="i18n(this)">submit</span></p> </li> </ol> </div> <p><span data-i18n="1b0f1d7149c24068e2db2f7688aa04390a241876278776ded1d97d128143725c/9b" data-source="where point 2. consists of several instances of" onmousemove="i18n(this)">&gcy;&dcy;&iecy; &pcy;&ucy;&ncy;&kcy;&tcy; 2. &scy;&ocy;&scy;&tcy;&ocy;&icy;&tcy; &icy;&zcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &ecy;&kcy;&zcy;&iecy;&mcy;&pcy;&lcy;&yacy;&rcy;&ocy;&vcy;</span></p> <p><span data-i18n="0f5a046203be29d6d2023510766045c942f86b17f4d14e129d9a7506d6b06dd2/7e" data-source="a) regular use" onmousemove="i18n(this)">&acy;) &rcy;&iecy;&gcy;&ucy;&lcy;&yacy;&rcy;&ncy;&ocy;&iecy; &ucy;&pcy;&ocy;&tcy;&rcy;&iecy;&bcy;&lcy;&iecy;&ncy;&icy;&iecy;</span></p> <div> <ol> <li> <p><span data-i18n="85166b0e4b1ed6dd03d930a7846eac07c1d9df5be15b6365ed490e9799af22e2/ab" data-source="finish something worthy of a commit" onmousemove="i18n(this)">&zcy;&acy;&kcy;&ocy;&ncy;&chcy;&icy;&tcy;&softcy; &chcy;&tcy;&ocy;-&tcy;&ocy;, &dcy;&ocy;&scy;&tcy;&ocy;&jcy;&ncy;&ocy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&scy;&tcy;&vcy;&acy;</span></p> </li> <li> <p><span data-i18n="9505cacb7c710ed17125fcc6cb3669e8ddca6c8cd8af6a31f6b3cd64604c3098/55" data-source="commit" onmousemove="i18n(this)">commit</span></p> </li> </ol> </div> <p><span data-i18n="be309c0c274faf8e436e425d20788dc0b5c9e67cf8a575ad3a764c4156f0bc9e/da" data-source="b) independent fixup" onmousemove="i18n(this)">&bcy;) &scy;&acy;&mcy;&ocy;&scy;&tcy;&ocy;&yacy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy; &rcy;&iecy;&mcy;&ocy;&ncy;&tcy;</span></p> <div> <ol> <li> <p><span data-i18n="7552ded2a2c5cbd89fba4163083c903d87514615f62bacdfb30402a7bece058a/97" data-source="realize that something does not work" onmousemove="i18n(this)">&ocy;&scy;&ocy;&zcy;&ncy;&acy;&tcy;&softcy;, &chcy;&tcy;&ocy; &chcy;&tcy;&ocy;-&tcy;&ocy; &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy;</span></p> </li> <li> <p><span data-i18n="2a58abbe8fac75b1df54683cad442a77d3c76c04d69903de387d66f2dd507337/60" data-source="fix that" onmousemove="i18n(this)">fix that</span></p> </li> <li> <p><span data-i18n="e021489352c3beb2c6a6472de6721839ff3769de092746b83386f8d4be6354e3/b5" data-source="commit it" onmousemove="i18n(this)">commit it</span></p> </li> </ol> </div> <p><span data-i18n="7a15e169c4b2472932fe053ae4ff3e82d0dad0d1e8f70225e5c2c69eb240f65b/63" data-source="Sometimes the thing fixed in b.2. cannot be amended to the not-quite perfect commit it fixes, because that commit is buried deeply in a patch series. That is exactly what interactive rebase is for: use it after plenty of &amp;quot;a&amp;quot;s and &amp;quot;b&amp;quot;s, by rearranging and editing commits, and squashing multiple commits into one." onmousemove="i18n(this)">&Icy;&ncy;&ocy;&gcy;&dcy;&acy; &tcy;&ocy;, &chcy;&tcy;&ocy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ocy; &vcy; &bcy;.2. &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy; &vcy; &ncy;&iecy; &scy;&ocy;&vcy;&scy;&iecy;&mcy; &icy;&dcy;&iecy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&ncy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;, &pcy;&ocy;&tcy;&ocy;&mcy;&ucy; &chcy;&tcy;&ocy; &ecy;&tcy;&ocy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &gcy;&lcy;&ucy;&bcy;&ocy;&kcy;&ocy; &scy;&pcy;&rcy;&yacy;&tcy;&acy;&ncy; &vcy; &scy;&iecy;&rcy;&icy;&icy; &pcy;&acy;&tcy;&chcy;&iecy;&jcy;. &Icy;&mcy;&iecy;&ncy;&ncy;&ocy; &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &icy; &ncy;&ucy;&zhcy;&ncy;&acy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy;: &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &iecy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&gcy;&ocy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy;  &quot;a&quot;  &icy;  &quot;b&quot; , &pcy;&iecy;&rcy;&iecy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&yacy; &icy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&yacy;&yacy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy; &ocy;&dcy;&icy;&ncy;.</span></p> <p><span data-i18n="82a3ef1c74148e42c28c55968d2ab3d58bcd8fcb38d9b01815445549ada912db/c0" data-source="Start it with the last commit you want to retain as-is:" onmousemove="i18n(this)">&Ncy;&acy;&chcy;&ncy;&icy;&tcy;&iecy; &scy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &kcy;&acy;&kcy; &iecy;&scy;&tcy;&softcy;:</span></p> <div> <div> <pre class="hljs language-kotlin">git rebase -i &lt;after-<span class="hljs-keyword">this</span>-commit&gt;</pre> </div> </div> <p><span data-i18n="3ae75762053aa469f7a745d5d1a534a635d55a197a6c87d8f8d22441d3baec39/b1" data-source="An editor will be fired up with all the commits in your current branch (ignoring merge commits), which come after the given commit. You can reorder the commits in this list to your heart&amp;rsquo;s content, and you can remove them. The list looks more or less like this:" onmousemove="i18n(this)">&Rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&pcy;&ucy;&shchcy;&iecy;&ncy; &scy;&ocy; &vcy;&scy;&iecy;&mcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy; &vcy; &vcy;&acy;&shcy;&iecy;&jcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy; (&icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&tcy; &pcy;&ocy;&scy;&lcy;&iecy; &dcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &pcy;&ocy;&rcy;&yacy;&dcy;&ocy;&kcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&pcy;&icy;&scy;&kcy;&iecy; &pcy;&ocy; &scy;&vcy;&ocy;&iecy;&mcy;&ucy; &ucy;&scy;&mcy;&ocy;&tcy;&rcy;&iecy;&ncy;&icy;&yucy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &icy;&khcy;. &Scy;&pcy;&icy;&scy;&ocy;&kcy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&icy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&ncy;&ocy; &tcy;&acy;&kcy;:</span></p> <div> <div> <pre class="hljs language-kotlin">pick deadbee The oneline of <span class="hljs-keyword">this</span> commit
pick fa1afe1 The oneline of the next commit
...</pre> </div> </div> <p><span data-i18n="9d9f7d6ac4b8aca231ab7f54587ab527f27f1495342edaa65f43bef556339c52/73" data-source="The oneline descriptions are purely for your pleasure; &lt;code&gt;git rebase&lt;/code&gt; will not look at them but at the commit names (&amp;quot;deadbee&amp;quot; and &amp;quot;fa1afe1&amp;quot; in this example), so do not delete or edit the names." onmousemove="i18n(this)">&Ocy;&dcy;&ncy;&ocy;&scy;&tcy;&rcy;&ocy;&chcy;&ncy;&ycy;&iecy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ycy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &dcy;&lcy;&yacy; &vcy;&acy;&shcy;&iecy;&gcy;&ocy; &ucy;&dcy;&ocy;&vcy;&ocy;&lcy;&softcy;&scy;&tcy;&vcy;&icy;&yacy;;  <code>git rebase</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy; &icy;&khcy;, &acy; &icy;&mcy;&iecy;&ncy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; (&vcy; &ecy;&tcy;&ocy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&iecy;  &quot;deadbee&quot;  &icy;  &quot;fa1afe1&quot; ), &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &ncy;&iecy; &ucy;&dcy;&acy;&lcy;&yacy;&jcy;&tcy;&iecy; &icy; &ncy;&iecy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy;&mcy;&iecy;&ncy;&acy;.</span></p> <p><span data-i18n="250bbee7458bdf5c64ccdf880eb702c2d10ef0b1449aaa2bbade877cbefcb237/22" data-source="By replacing the command &amp;quot;pick&amp;quot; with the command &amp;quot;edit&amp;quot;, you can tell &lt;code&gt;git rebase&lt;/code&gt; to stop after applying that commit, so that you can edit the files and/or the commit message, amend the commit, and continue rebasing." onmousemove="i18n(this)">&Zcy;&acy;&mcy;&iecy;&ncy;&icy;&vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;pick&quot;  &ncy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;edit&quot; , &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;  <code>git rebase</code>  &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &ecy;&tcy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ycy; &mcy;&ocy;&gcy;&lcy;&icy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;/&icy;&lcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &icy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;.</span></p> <p><span data-i18n="99510ba4922e6c0b0d92aa29bfeb98565b20ccc90ab8127b4920ae1614524e73/18" data-source="To interrupt the rebase (just like an &amp;quot;edit&amp;quot; command would do, but without cherry-picking any commit first), use the &amp;quot;break&amp;quot; command." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&iecy;&rcy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; (&tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &ecy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  &quot;edit&quot; , &ncy;&ocy; &bcy;&iecy;&zcy; &pcy;&rcy;&iecy;&dcy;&vcy;&acy;&rcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &vcy;&ycy;&bcy;&ocy;&rcy;&acy; &kcy;&acy;&kcy;&icy;&khcy;-&lcy;&icy;&bcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;), &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;break&quot; .</span></p> <p><span data-i18n="f586923c71a6e9cde537cdfc6b3c32b2b2ff068df565c709934fbfda58a300a1/56" data-source="If you just want to edit the commit message for a commit, replace the command &amp;quot;pick&amp;quot; with the command &amp;quot;reword&amp;quot;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &zcy;&acy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;pick&quot;  &ncy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;reword&quot; .</span></p> <p><span data-i18n="0908005dbec26f2aa12c105da228a97c5706cbf2d8b173e602e071d739378ad9/89" data-source="To drop a commit, replace the command &amp;quot;pick&amp;quot; with &amp;quot;drop&amp;quot;, or just delete the matching line." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy;, &zcy;&acy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;pick&quot;  &ncy;&acy;  &quot;drop&quot;  &icy;&lcy;&icy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy;.</span></p> <p><span data-i18n="ebf44e0417c74d92f2d17855cb345eb24643f069a39aba84dadb022d4c51d218/b1" data-source="If you want to fold two or more commits into one, replace the command &amp;quot;pick&amp;quot; for the second and subsequent commits with &amp;quot;squash&amp;quot; or &amp;quot;fixup&amp;quot;. If the commits had different authors, the folded commit will be attributed to the author of the first commit. The suggested commit message for the folded commit is the concatenation of the first commit&amp;rsquo;s message with those identified by &amp;quot;squash&amp;quot; commands, omitting the messages of commits identified by &amp;quot;fixup&amp;quot; commands, unless &amp;quot;fixup -c&amp;quot; is used. In that case the suggested commit message is only the message of the &amp;quot;fixup -c&amp;quot; commit, and an editor is opened allowing you to edit the message. The contents (patch) of the &amp;quot;fixup -c&amp;quot; commit are still incorporated into the folded commit. If there is more than one &amp;quot;fixup -c&amp;quot; commit, the message from the final one is used. You can also use &amp;quot;fixup -C&amp;quot; to get the same behavior as &amp;quot;fixup -c&amp;quot; except without opening an editor." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&softcy; &dcy;&vcy;&acy; &icy;&lcy;&icy; &bcy;&ocy;&lcy;&iecy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &vcy; &ocy;&dcy;&icy;&ncy;, &zcy;&acy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  &quot;pick&quot;  &dcy;&lcy;&yacy; &vcy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &icy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &ncy;&acy;  &quot;squash&quot;  &icy;&lcy;&icy;  &quot;fixup&quot; . &IEcy;&scy;&lcy;&icy; &ucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &bcy;&ycy;&lcy;&icy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &acy;&vcy;&tcy;&ocy;&rcy;&ycy;, &scy;&vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&pcy;&icy;&scy;&acy;&ncy; &acy;&vcy;&tcy;&ocy;&rcy;&ucy; &pcy;&iecy;&rcy;&vcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Pcy;&rcy;&iecy;&dcy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ocy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &dcy;&lcy;&yacy; &scy;&vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&jcy; &pcy;&iecy;&rcy;&vcy;&ocy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &scy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;  &quot;squash&quot; , &bcy;&iecy;&zcy; &ucy;&chcy;&iecy;&tcy;&acy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&jcy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&tscy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;  &quot;fixup&quot; , &iecy;&scy;&lcy;&icy; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  &quot;fixup -c&quot; . &Vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &pcy;&rcy;&iecy;&dcy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ocy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;&mcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;  &quot;fixup -c&quot; , &icy; &ocy;&tcy;&kcy;&rcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&shchcy;&icy;&jcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;. &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; (&icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;) &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;  &quot;fixup -c&quot;  &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &vcy; &scy;&vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;. &IEcy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;  &quot;fixup -c&quot; , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &icy;&zcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&gcy;&ocy;. &Vcy;&ycy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  &quot;fixup -C&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &tcy;&ocy; &zhcy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &icy;  &quot;fixup -c&quot; , &ncy;&ocy; &bcy;&iecy;&zcy; &ocy;&tcy;&kcy;&rcy;&ycy;&tcy;&icy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;&acy;.</span></p> <p><span data-i18n="dce66b8dc02d30e7e679f428f13d023b654388b7b25d35afc0b14ef01c0edf9b/5d" data-source="&lt;code&gt;git rebase&lt;/code&gt; will stop when &amp;quot;pick&amp;quot; has been replaced with &amp;quot;edit&amp;quot; or when a command fails due to merge errors. When you are done editing and/or resolving conflicts you can continue with &lt;code&gt;git rebase --continue&lt;/code&gt;." onmousemove="i18n(this)"><code>git rebase</code>  &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy;  &quot;pick&quot;  &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&mcy;&iecy;&ncy;&iecy;&ncy; &ncy;&acy;  &quot;edit&quot;  &icy;&lcy;&icy; &kcy;&ocy;&gcy;&dcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&acy; &icy;&zcy;-&zcy;&acy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &zcy;&acy;&kcy;&ocy;&ncy;&chcy;&icy;&tcy;&iecy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &icy;/&icy;&lcy;&icy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &scy;  <code>git rebase --continue</code> .</span></p> <p><span data-i18n="b667fc2adfff23c1c816faf881a18ccac37970e4d9db53e5f8a8c25c001a6422/e7" data-source="For example, if you want to reorder the last 5 commits, such that what was &lt;code&gt;HEAD~4&lt;/code&gt; becomes the new &lt;code&gt;HEAD&lt;/code&gt;. To achieve that, you would call &lt;code&gt;git rebase&lt;/code&gt; like this:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &pcy;&ocy;&rcy;&yacy;&dcy;&ocy;&kcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&khcy; 5 &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &tcy;&ocy;, &chcy;&tcy;&ocy; &bcy;&ycy;&lcy;&ocy;  <code>HEAD~4</code> , &scy;&tcy;&acy;&lcy;&ocy; &ncy;&ocy;&vcy;&ycy;&mcy;  <code>HEAD</code> . &Dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &vcy;&ycy;&zcy;&vcy;&acy;&tcy;&softcy;  <code>git rebase</code>  &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git rebase -i <span class="hljs-variable constant_">HEAD</span>~<span class="hljs-number">5</span></pre> </div> </div> <p><span data-i18n="2ea434950e56592bf2bc2f46ce72fb353ce8ea622656f92cf8bd529bb751587f/64" data-source="And move the first patch to the end of the list." onmousemove="i18n(this)">&Icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &pcy;&acy;&tcy;&chcy; &vcy; &kcy;&ocy;&ncy;&iecy;&tscy; &scy;&pcy;&icy;&scy;&kcy;&acy;.</span></p> <p><span data-i18n="94716701dd0ad5b2bf8978866cd374ac5f401e07a6ae81961048f9702df1c014/f7" data-source="You might want to recreate merge commits, e.g. if you have a history like this:" onmousemove="i18n(this)">&Vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &vcy;&ycy; &zcy;&acy;&khcy;&ocy;&tcy;&icy;&tcy;&iecy; &vcy;&ocy;&scy;&scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &iecy;&scy;&lcy;&icy; &ucy; &vcy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &tcy;&acy;&kcy;&acy;&yacy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy;:</span></p> <div> <div> <pre class="hljs language-css">           X
            \
         <span class="hljs-selector-tag">A</span>-<span class="hljs-attr">--M---B</span>
        /
-<span class="hljs-attr">--o---O---P---Q</span></pre> </div> </div> <p><span data-i18n="875efc7cc0687bbcdc74af98b00ad38753569e3b954e2fa0993d0b77f0bc512b/50" data-source="Suppose you want to rebase the side branch starting at &amp;quot;A&amp;quot; to &amp;quot;Q&amp;quot;. Make sure that the current &lt;code&gt;HEAD&lt;/code&gt; is &amp;quot;B&amp;quot;, and call" onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &bcy;&ocy;&kcy;&ocy;&vcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy;  &quot;A&quot; , &ncy;&acy;  &quot;Q&quot; . &Ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy;  <code>HEAD</code>  &mdash;  &quot;B&quot; , &icy; &pcy;&ocy;&zcy;&vcy;&ocy;&ncy;&icy;&tcy;&iecy;</span></p> <div> <div> <pre class="hljs language-lua">$ git rebase -i -r <span class="hljs-comment" title="--onto Q O">--onto QO</span></pre> </div> </div> <p><span data-i18n="b238260eee5c08f16b222dce39e688f8fc66f1656b2bbe5b8cd59f9474bf4c2c/e3" data-source="Reordering and editing commits usually creates untested intermediate steps. You may want to check that your history editing did not break anything by running a test, or at least recompiling at intermediate points in history by using the &amp;quot;exec&amp;quot; command (shortcut &amp;quot;x&amp;quot;). You may do so by creating a todo list like this one:" onmousemove="i18n(this)">&Icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&acy; &icy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yucy; &ncy;&iecy;&pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ycy;&khcy; &pcy;&rcy;&ocy;&mcy;&iecy;&zhcy;&ucy;&tcy;&ocy;&chcy;&ncy;&ycy;&khcy; &shcy;&acy;&gcy;&ocy;&vcy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy;, &chcy;&tcy;&ocy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &ncy;&acy;&rcy;&ucy;&shcy;&icy;&lcy;&ocy;, &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&vcy; &tcy;&iecy;&scy;&tcy; &icy;&lcy;&icy;, &pcy;&ocy; &kcy;&rcy;&acy;&jcy;&ncy;&iecy;&jcy; &mcy;&iecy;&rcy;&iecy;, &pcy;&iecy;&rcy;&iecy;&kcy;&ocy;&mcy;&pcy;&icy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&vcy; &vcy; &pcy;&rcy;&ocy;&mcy;&iecy;&zhcy;&ucy;&tcy;&ocy;&chcy;&ncy;&ycy;&khcy; &tcy;&ocy;&chcy;&kcy;&acy;&khcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  &quot;exec&quot;  (&yacy;&rcy;&lcy;&ycy;&kcy;  &quot;x&quot; ). &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;, &scy;&ocy;&zcy;&dcy;&acy;&vcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &zcy;&acy;&dcy;&acy;&chcy;, &pcy;&ocy;&dcy;&ocy;&bcy;&ncy;&ycy;&jcy; &ecy;&tcy;&ocy;&mcy;&ucy;:</span></p> <div> <div> <pre class="hljs language-bash">pick deadbee Implement feature XXX
fixup f1a5c00 Fix to feature XXX
<span class="hljs-built_in">exec</span> make
pick c0ffeee The oneline of the next commit
edit deadbab The oneline of the commit after
<span class="hljs-built_in">exec</span> <span class="hljs-built_in">cd</span> subdir; make <span class="hljs-built_in">test</span>
...</pre> </div> </div> <p><span data-i18n="4c93cbbb4edef84c0871bbd5a978587ebff17ea53034de65b1ed4ee8f06f4c8d/fe" data-source="The interactive rebase will stop when a command fails (i.e. exits with non-0 status) to give you an opportunity to fix the problem. You can continue with &lt;code&gt;git rebase --continue&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy;&bcy;&ocy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; (&tcy;. &iecy;. &vcy;&ycy;&khcy;&ocy;&dcy;&acy; &scy;&ocy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy;, &ocy;&tcy;&lcy;&icy;&chcy;&ncy;&ycy;&mcy; &ocy;&tcy; 0), &chcy;&tcy;&ocy;&bcy;&ycy; &dcy;&acy;&tcy;&softcy; &vcy;&acy;&mcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &ucy;&scy;&tcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ucy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&softcy; &scy;  <code>git rebase --continue</code> .</span></p> <p><span data-i18n="a5452794acbe1e7191def2460b58a35a06ecbd09396ba3e954ef9e066d367def/96" data-source="The &amp;quot;exec&amp;quot; command launches the command in a shell (the one specified in &lt;code&gt;$SHELL&lt;/code&gt;, or the default shell if &lt;code&gt;$SHELL&lt;/code&gt; is not set), so you can use shell features (like &amp;quot;cd&amp;quot;, &amp;quot;&amp;gt;&amp;quot;, &amp;quot;;&amp;quot; &amp;hellip;&amp;ZeroWidthSpace;). The command is run from the root of the working tree." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  &quot;exec&quot;  &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy; &vcy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&iecy; (&tcy;&ocy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &vcy;  <code>$SHELL</code>  &icy;&lcy;&icy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy;  <code>$SHELL</code>  &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;), &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&icy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&icy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;cd&quot; ,  &quot;&gt;&quot; ,  &quot;;&quot; &hellip;&ZeroWidthSpace;). &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &kcy;&ocy;&rcy;&ncy;&yacy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;.</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git rebase -i --<span class="hljs-built_in">exec</span> <span class="hljs-string">&quot;make test&quot;</span></span></pre> </div> </div> <p><span data-i18n="65046d02387d4da7e122bd44396bda8d971ca12b69b692536643b610901fa674/2d" data-source="This command lets you check that intermediate commits are compilable. The todo list becomes like that:" onmousemove="i18n(this)">&Ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&acy;&mcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &kcy;&ocy;&mcy;&pcy;&icy;&lcy;&yacy;&tscy;&icy;&icy; &pcy;&rcy;&ocy;&mcy;&iecy;&zhcy;&ucy;&tcy;&ocy;&chcy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &Scy;&pcy;&icy;&scy;&ocy;&kcy; &dcy;&iecy;&lcy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy; &tcy;&acy;&kcy;&icy;&mcy;:</span></p> <div> <div> <pre class="hljs language-bash">pick 5928aea one
<span class="hljs-built_in">exec</span> make <span class="hljs-built_in">test</span>
pick 04d0fda two
<span class="hljs-built_in">exec</span> make <span class="hljs-built_in">test</span>
pick ba46169 three
<span class="hljs-built_in">exec</span> make <span class="hljs-built_in">test</span>
pick f4593f9 four
<span class="hljs-built_in">exec</span> make <span class="hljs-built_in">test</span></pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_splitting_commits"><span data-i18n="b9b103c117d9a8e6c73b21e520477146a5617b86dbb96aef36c7aed37fac8ab8/e3" data-source="Splitting commits" onmousemove="i18n(this)">Splitting commits</span></h2> <div> <p><span data-i18n="d98f76db43af7b3bfd72f12d0f8dfe8ce732923f68e6a0f13dff025fefbbfdc4/2d" data-source="In interactive mode, you can mark commits with the action &amp;quot;edit&amp;quot;. However, this does not necessarily mean that &lt;code&gt;git rebase&lt;/code&gt; expects the result of this edit to be exactly one commit. Indeed, you can undo the commit, or you can add other commits. This can be used to split a commit into two:" onmousemove="i18n(this)">&Vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&ocy;&mcy;&iecy;&tcy;&icy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy;  &quot;edit&quot; . &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &ecy;&tcy;&ocy; &ncy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy;  <code>git rebase</code>  &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&mcy; &ecy;&tcy;&ocy;&gcy;&ocy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&ocy;&vcy;&ncy;&ocy; &ocy;&dcy;&ncy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;. &Dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &icy;&lcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &ncy;&acy; &dcy;&vcy;&iecy; &chcy;&acy;&scy;&tcy;&icy;:</span></p> <div> <ul> <li> <p><span data-i18n="0f6cd5e2603da1f1a932e064247c4fee938b6235d75fc67b22ef837f21c6a6cc/91" data-source="Start an interactive rebase with &lt;code&gt;git rebase -i &amp;lt;commit&amp;gt;^&lt;/code&gt;, where &lt;code&gt;&amp;lt;commit&amp;gt;&lt;/code&gt; is the commit you want to split. In fact, any commit range will do, as long as it contains that commit." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git rebase -i &lt;commit&gt;^</code>  , &gcy;&dcy;&iecy;  <code>&lt;commit&gt;</code>  &mdash; &ecy;&tcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;. &Fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&ocy;&dcy;&ocy;&jcy;&dcy;&iecy;&tcy; &lcy;&yucy;&bcy;&ocy;&jcy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &ecy;&tcy;&ocy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;.</span></p> </li> <li> <p><span data-i18n="280b433afb54173ef971d046b30201d2e593a1e7c5ccab3b483282814ac9a363/23" data-source="Mark the commit you want to split with the action &amp;quot;edit&amp;quot;." onmousemove="i18n(this)">&Ocy;&tcy;&mcy;&iecy;&tcy;&softcy;&tcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;, &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&iecy;&mcy;  &quot;edit&quot; .</span></p> </li> <li> <p><span data-i18n="101d7fed490f8fa9cda21ca5942540444c354f36b86802a65a91680c8fb98261/20" data-source="When it comes to editing that commit, execute &lt;code&gt;git reset HEAD^&lt;/code&gt;. The effect is that the &lt;code&gt;HEAD&lt;/code&gt; is rewound by one, and the index follows suit. However, the working tree stays the same." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &dcy;&iecy;&lcy;&ocy; &dcy;&ocy;&khcy;&ocy;&dcy;&icy;&tcy; &dcy;&ocy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;  <code>git reset HEAD^</code>  . &Vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy;  <code>HEAD</code>  &pcy;&iecy;&rcy;&iecy;&mcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &iecy;&dcy;&icy;&ncy;&icy;&tscy;&ucy;, &icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &ecy;&tcy;&ocy;&mcy;&ucy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&ucy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ocy;&scy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&zhcy;&ncy;&icy;&mcy;.</span></p> </li> <li> <p><span data-i18n="a90b1f86a66a46ab7ab9e0fc1d6640182e797bc03478c8a9621a8411425c6e12/f1" data-source="Now add the changes to the index that you want to have in the first commit. You can use &lt;code&gt;git add&lt;/code&gt; (possibly interactively) or &lt;code&gt;git gui&lt;/code&gt; (or both) to do that." onmousemove="i18n(this)">&Tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&mcy;&iecy;&tcy;&softcy; &vcy; &pcy;&iecy;&rcy;&vcy;&ocy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy;. &Dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>git add</code>  (&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;) &icy;&lcy;&icy;  <code>git gui</code>  (&icy;&lcy;&icy; &ocy;&bcy;&acy;).</span></p> </li> <li> <p><span data-i18n="eaaa2a7d1972681cd65c0db64cb44fcbcd4d611a4cc0b7e4414de225a5f93d00/8d" data-source="Commit the now-current index with whatever commit message is appropriate now." onmousemove="i18n(this)">&Zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &scy;&iecy;&jcy;&chcy;&acy;&scy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&icy;&tcy;.</span></p> </li> <li> <p><span data-i18n="8a35f07b2341820a1eadde00ab3881f9c1a84f26acf4f3798596334997a096ac/48" data-source="Repeat the last two steps until your working tree is clean." onmousemove="i18n(this)">&Pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&yacy;&jcy;&tcy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&iecy; &dcy;&vcy;&acy; &shcy;&acy;&gcy;&acy;, &pcy;&ocy;&kcy;&acy; &vcy;&acy;&shcy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ncy;&iecy; &scy;&tcy;&acy;&ncy;&iecy;&tcy; &chcy;&icy;&scy;&tcy;&ycy;&mcy;.</span></p> </li> <li> <p><span data-i18n="9baaf01c358ee7fd34849fd8eff7e05f8e37543458692a6021d1ae44f214e3e8/1a" data-source="Continue the rebase with &lt;code&gt;git rebase --continue&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git rebase --continue</code> .</span></p> </li> </ul> </div> <p><span data-i18n="94d88a96a61267ec6e093e06828413e9a1617fa7ed007198a03cb88392b09341/05" data-source="If you are not absolutely sure that the intermediate revisions are consistent (they compile, pass the testsuite, etc.) you should use &lt;code&gt;git stash&lt;/code&gt; to stash away the not-yet-committed changes after each commit, test, and amend the commit if fixes are necessary." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &scy;&ocy;&vcy;&scy;&iecy;&mcy; &ucy;&vcy;&iecy;&rcy;&iecy;&ncy;&ycy; &vcy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy; &pcy;&rcy;&ocy;&mcy;&iecy;&zhcy;&ucy;&tcy;&ocy;&chcy;&ncy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy; &scy;&ocy;&gcy;&lcy;&acy;&scy;&ocy;&vcy;&acy;&ncy;&ycy; (&ocy;&ncy;&icy; &kcy;&ocy;&mcy;&pcy;&icy;&lcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;, &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&yucy;&tcy; &ncy;&acy;&bcy;&ocy;&rcy; &tcy;&iecy;&scy;&tcy;&ocy;&vcy; &icy; &tcy;. &dcy;.), &vcy;&acy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>git stash</code>  &dcy;&lcy;&yacy; &khcy;&rcy;&acy;&ncy;&iecy;&ncy;&icy;&yacy; &iecy;&shchcy;&iecy; &ncy;&iecy; &zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &pcy;&ocy;&scy;&lcy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;, &tcy;&iecy;&scy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy; &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &vcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;. &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy;&jcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_recovering_from_upstream_rebase"><span data-i18n="19fe57c8e94bee10721c9469e552968c74d9ff53ca80c370e1c342878f67b69d/0b" data-source="Recovering from upstream rebase" onmousemove="i18n(this)">&Vcy;&ocy;&scy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&tcy;&ocy;&kcy;&acy;</span></h2> <div> <p><span data-i18n="1ae07659ec72a9a9f585c54fc60cd21256a9fff19340f2a9138ad5cbf9b49ca3/4e" data-source="Rebasing (or any other form of rewriting) a branch that others have based work on is a bad idea: anyone downstream of it is forced to manually fix their history. This section explains how to do the fix from the downstream&amp;rsquo;s point of view. The real fix, however, would be to avoid rebasing the upstream in the first place." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; (&icy;&lcy;&icy; &lcy;&yucy;&bcy;&acy;&yacy; &dcy;&rcy;&ucy;&gcy;&acy;&yacy; &fcy;&ocy;&rcy;&mcy;&acy; &pcy;&iecy;&rcy;&iecy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&ncy;&icy;&yacy;) &vcy;&iecy;&tcy;&kcy;&icy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &ocy;&scy;&ncy;&ocy;&vcy;&ycy;&vcy;&acy;&lcy;&icy;&scy;&softcy; &rcy;&acy;&bcy;&ocy;&tcy;&ycy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy;, &mdash; &pcy;&lcy;&ocy;&khcy;&acy;&yacy; &icy;&dcy;&iecy;&yacy;: &lcy;&yucy;&bcy;&ocy;&jcy;, &kcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &pcy;&ocy; &tcy;&iecy;&chcy;&iecy;&ncy;&icy;&yucy;, &vcy;&ycy;&ncy;&ucy;&zhcy;&dcy;&iecy;&ncy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy;&vcy;&ocy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;. &Vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;, &kcy;&acy;&kcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &scy; &tcy;&ocy;&chcy;&kcy;&icy; &zcy;&rcy;&iecy;&ncy;&icy;&yacy; &ncy;&icy;&zhcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ycy;. &Rcy;&iecy;&acy;&lcy;&softcy;&ncy;&ocy;&iecy; &rcy;&iecy;&shcy;&iecy;&ncy;&icy;&iecy;, &ocy;&dcy;&ncy;&acy;&kcy;&ocy;, &zcy;&acy;&kcy;&lcy;&yucy;&chcy;&acy;&lcy;&ocy;&scy;&softcy; &bcy;&ycy; &vcy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ocy;&ocy;&bcy;&shchcy;&iecy; &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&tcy;&ocy;&kcy;&acy;.</span></p> <p><span data-i18n="90f67bfb9697d7a57babfc991ced235b26de4257cab546989c59424a872461a6/4a" data-source="To illustrate, suppose you are in a situation where someone develops a &lt;code&gt;subsystem&lt;/code&gt; branch, and you are working on a &lt;code&gt;topic&lt;/code&gt; that is dependent on this &lt;code&gt;subsystem&lt;/code&gt;. You might end up with a history like the following:" onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &icy;&lcy;&lcy;&yucy;&scy;&tcy;&rcy;&acy;&tscy;&icy;&icy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&iecy;&scy;&softcy; &vcy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&icy;, &kcy;&ocy;&gcy;&dcy;&acy; &kcy;&tcy;&ocy;-&tcy;&ocy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>subsystem</code> , &acy; &vcy;&ycy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy;&iecy; &ncy;&acy;&dcy;  <code>topic</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &ecy;&tcy;&ocy;&gcy;&ocy;  <code>subsystem</code> . &Vcy; &icy;&tcy;&ocy;&gcy;&iecy; &ucy; &vcy;&acy;&scy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy;&scy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&acy;&yacy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy;:</span></p> <div> <div> <pre class="hljs language-lua">    o<span class="hljs-comment">---o---o---o---o---o---o---o  master</span>
         \
          o<span class="hljs-comment" title="---o---o---o---o  subsystem">---&ocy;---&ocy;---&ocy;---&ocy; &pcy;&ocy;&dcy;&scy;&icy;&scy;&tcy;&iecy;&mcy;&acy;</span>
                           \
                            *<span class="hljs-comment">---*---*  topic</span></pre> </div> </div> <p><span data-i18n="71bc79f738d4b3e158589e52c9ee445c9b59daa41ad133396fd3deb641f6147f/a5" data-source="If &lt;code&gt;subsystem&lt;/code&gt; is rebased against &lt;code&gt;master&lt;/code&gt;, the following happens:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy;  <code>subsystem</code>  &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &ncy;&acy;  <code>master</code> , &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&iecy;:</span></p> <div> <div> <pre class="hljs language-lua">    o<span class="hljs-comment">---o---o---o---o---o---o---o  master</span>
         \                         \
          o<span class="hljs-comment" title="---o---o---o---o          o&apos;--o&apos;--o&apos;--o&apos;--o&apos;  subsystem">---&ocy;---&ocy;---&ocy;---&ocy; &ocy;&apos;--&ocy;&apos;--&ocy;&apos;--&ocy;&apos;--&ocy;&apos; &pcy;&ocy;&dcy;&scy;&icy;&scy;&tcy;&iecy;&mcy;&acy;</span>
                           \
                            *<span class="hljs-comment">---*---*  topic</span></pre> </div> </div> <p><span data-i18n="ebd85c2c648ff23f8ce1f6166469d583a9fdf904490dc36d4c8f6cc1a09e0901/4d" data-source="If you now continue development as usual, and eventually merge &lt;code&gt;topic&lt;/code&gt; to &lt;code&gt;subsystem&lt;/code&gt;, the commits from &lt;code&gt;subsystem&lt;/code&gt; will remain duplicated forever:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&ucy; &kcy;&acy;&kcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &icy; &vcy; &kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ocy;&mcy; &icy;&tcy;&ocy;&gcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&iecy;  <code>topic</code>  &scy;  <code>subsystem</code> , &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &icy;&zcy;  <code>subsystem</code>  &ocy;&scy;&tcy;&acy;&ncy;&ucy;&tcy;&scy;&yacy; &dcy;&ucy;&bcy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &ncy;&acy;&vcy;&scy;&iecy;&gcy;&dcy;&acy;:</span></p> <div> <div> <pre class="hljs language-lua">    o<span class="hljs-comment">---o---o---o---o---o---o---o  master</span>
         \                         \
          o<span class="hljs-comment" title="---o---o---o---o          o&apos;--o&apos;--o&apos;--o&apos;--o&apos;--M         subsystem">---o---o---o---o o&apos;--o&apos;--o&apos;--o&apos;--o&apos;--M &pcy;&ocy;&dcy;&scy;&icy;&scy;&tcy;&iecy;&mcy;&acy;</span>
                           \                             /
                            *<span class="hljs-comment" title="---*---*-..........-*--*  topic">---*---*-..........-*--* &tcy;&iecy;&mcy;&acy;</span></pre> </div> </div> <p><span data-i18n="582203d0c5194a4851f85eeb05246cfdbd62a71ccac0de443f446a33a35b2652/28" data-source="Such duplicates are generally frowned upon because they clutter up history, making it harder to follow. To clean things up, you need to transplant the commits on &lt;code&gt;topic&lt;/code&gt; to the new &lt;code&gt;subsystem&lt;/code&gt; tip, i.e., rebase &lt;code&gt;topic&lt;/code&gt;. This becomes a ripple effect: anyone downstream from &lt;code&gt;topic&lt;/code&gt; is forced to rebase too, and so on!" onmousemove="i18n(this)">&Tcy;&acy;&kcy;&icy;&iecy; &dcy;&ucy;&bcy;&lcy;&icy;&kcy;&acy;&tcy;&ycy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ncy;&iecy; &ocy;&dcy;&ocy;&bcy;&rcy;&yacy;&yucy;&tcy;&scy;&yacy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ocy;&ncy;&icy; &zcy;&acy;&scy;&ocy;&rcy;&yacy;&yucy;&tcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;, &zcy;&acy;&tcy;&rcy;&ucy;&dcy;&ncy;&yacy;&yacy; &iecy;&iecy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&iecy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&vcy;&iecy;&scy;&tcy;&icy; &pcy;&ocy;&rcy;&yacy;&dcy;&ocy;&kcy;, &ncy;&ucy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&scy;&acy;&dcy;&icy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;  <code>topic</code>  &ncy;&acy; &ncy;&ocy;&vcy;&ycy;&jcy; &ncy;&acy;&kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&icy;&kcy;  <code>subsystem</code> , &tcy;.&iecy;. &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>topic</code> . &Ecy;&tcy;&ocy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy; &vcy;&ocy;&lcy;&ncy;&ocy;&vcy;&ycy;&mcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&ocy;&mcy;: &lcy;&yucy;&bcy;&ocy;&jcy;, &kcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &pcy;&ocy; &tcy;&iecy;&chcy;&iecy;&ncy;&icy;&yucy; &ocy;&tcy;  <code>topic</code> , &tcy;&ocy;&zhcy;&iecy; &vcy;&ycy;&ncy;&ucy;&zhcy;&dcy;&iecy;&ncy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &icy; &tcy;&acy;&kcy; &dcy;&acy;&lcy;&iecy;&iecy;!</span></p> <p><span data-i18n="03f3060e291a8bb5af21c8148a3430c0b536aeef06f3ca52abc2067972ed3dd4/57" data-source="There are two kinds of fixes, discussed in the following subsections:" onmousemove="i18n(this)">&Scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &dcy;&vcy;&acy; &tcy;&icy;&pcy;&acy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&bcy;&scy;&ucy;&zhcy;&dcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&dcy;&iecy;&lcy;&acy;&khcy;:</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt-EasycaseThechangesareliterallythesame"><span data-i18n="d1150603cddedf4c68c8637f88f0df9fe523bc9ca8c66673e5e18ee11a6ea83e/5a" data-source="Easy case: The changes are literally the same." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&tcy;&ocy;&jcy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;: &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &bcy;&ucy;&kcy;&vcy;&acy;&lcy;&softcy;&ncy;&ocy; &tcy;&acy;&kcy;&icy;&iecy; &zhcy;&iecy;.</span></dt> <dd> <p><span data-i18n="c57cb6008da5afd7ae34e1721f7a5cef63efb19799baeb5b1f0c0a1228dbed26/f0" data-source="This happens if the &lt;code&gt;subsystem&lt;/code&gt; rebase was a simple rebase and had no conflicts." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy;, &iecy;&scy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  <code>subsystem</code>  &bcy;&ycy;&lcy;&ocy; &pcy;&rcy;&ocy;&scy;&tcy;&ycy;&mcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &icy; &ncy;&iecy; &icy;&mcy;&iecy;&lcy;&ocy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-HardcaseThechangesarenotthesame"><span data-i18n="9effd441baf11470000270a64699dbafcccafb2dfbff4879755b90d23a257b44/07" data-source="Hard case: The changes are not the same." onmousemove="i18n(this)">&Scy;&lcy;&ocy;&zhcy;&ncy;&ycy;&jcy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;: &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy;.</span></dt> <dd> <p><span data-i18n="237e50b3fd700487035f92fa97f15cdb29f45ed1859c9bc3632bec1354e22f02/b3" data-source="This happens if the &lt;code&gt;subsystem&lt;/code&gt; rebase had conflicts, or used &lt;code&gt;--interactive&lt;/code&gt; to omit, edit, squash, or fixup commits; or if the upstream used one of &lt;code&gt;commit --amend&lt;/code&gt;, &lt;code&gt;reset&lt;/code&gt;, or a full history rewriting command like &lt;a href=&quot;https://github.com/newren/git-filter-repo&quot;&gt;&lt;code&gt;filter-repo&lt;/code&gt;&lt;/a&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy;, &iecy;&scy;&lcy;&icy; &pcy;&rcy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>subsystem</code>  &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&lcy;&icy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &icy;&lcy;&icy; &iecy;&scy;&lcy;&icy;  <code>--interactive</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&lcy;&scy;&yacy; &dcy;&lcy;&yacy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;, &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &scy;&zhcy;&acy;&tcy;&icy;&yacy; &icy;&lcy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;; &icy;&lcy;&icy; &iecy;&scy;&lcy;&icy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &kcy;&acy;&ncy;&acy;&lcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&lcy; &ocy;&dcy;&ncy;&ucy; &icy;&zcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;  <code>commit --amend</code> ,  <code>reset</code>  &icy;&lcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy; &pcy;&ocy;&lcy;&ncy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&icy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <a href="https://github.com/newren/git-filter-repo"><code>filter-repo</code></a> .</span></p> </dd> </dl> </div> <div> <h3 class="text-body-emphasis"  id="_the_easy_case"><span data-i18n="6478b7eb7d32fbae5d449bdf84121d24e7b485ae825c6249e607151c2b4e795a/99" data-source="The easy case" onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&tcy;&ocy;&jcy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;</span></h3> <p><span data-i18n="455cc955525436b3fc41f44e4fe6c4ebe5519b2d622e08a9716d3f1da48fa17b/e6" data-source="Only works if the changes (patch IDs based on the diff contents) on &lt;code&gt;subsystem&lt;/code&gt; are literally the same before and after the rebase &lt;code&gt;subsystem&lt;/code&gt; did." onmousemove="i18n(this)">&Rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; (&icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ycy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &ocy;&scy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &ncy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&mcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy;) &ncy;&acy;  <code>subsystem</code>  &bcy;&ucy;&kcy;&vcy;&acy;&lcy;&softcy;&ncy;&ocy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy; &dcy;&ocy; &icy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;  <code>subsystem</code> .</span></p> <p><span data-i18n="28c04713f2aaf4bdaaa81123e9569b897352c29a55d0e060b2e12023e19276f3/e1" data-source="In that case, the fix is easy because &lt;code&gt;git rebase&lt;/code&gt; knows to skip changes that are already present in the new upstream (unless &lt;code&gt;--reapply-cherry-picks&lt;/code&gt; is given). So if you say (assuming you&amp;rsquo;re on &lt;code&gt;topic&lt;/code&gt;)" onmousemove="i18n(this)">&Vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy; &lcy;&iecy;&gcy;&kcy;&ocy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy;  <code>git rebase</code>  &ucy;&mcy;&iecy;&iecy;&tcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ucy;&zhcy;&iecy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &vcy; &ncy;&ocy;&vcy;&ocy;&mcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&mcy; &kcy;&acy;&ncy;&acy;&lcy;&iecy; (&iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--reapply-cherry-picks</code> ). &Icy;&tcy;&acy;&kcy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &scy;&kcy;&acy;&zhcy;&iecy;&tcy;&iecy; (&pcy;&rcy;&icy; &ucy;&scy;&lcy;&ocy;&vcy;&icy;&icy;, &chcy;&tcy;&ocy; &vcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy;  <code>topic</code> )</span></p> <div> <div> <pre class="hljs language-ruby">    <span class="hljs-variable">$ </span>git rebase subsystem</pre> </div> </div> <p><span data-i18n="5644072d8f1742c48fe6846e894864f6ae9a0e35c1a7a6017bc0af05c3178394/b2" data-source="you will end up with the fixed history" onmousemove="i18n(this)">&vcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&iecy; &fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ucy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;</span></p> <div> <div> <pre class="hljs language-lua">    o<span class="hljs-comment" title="---o---o---o---o---o---o---o  master">---&ocy;---&ocy;---&ocy;---&ocy;---&ocy;---&ocy;---&ocy; &khcy;&ocy;&zcy;&yacy;&icy;&ncy;</span>
                                 \
                                  o<span class="hljs-string">&apos;--o&apos;</span><span class="hljs-comment" title="--o&apos;--o&apos;--o&apos;  subsystem">--o&apos;--o&apos;--o&apos; &pcy;&ocy;&dcy;&scy;&icy;&scy;&tcy;&iecy;&mcy;&acy;</span>
                                                   \
                                                    *<span class="hljs-comment" title="---*---*  topic">---*---* &tcy;&iecy;&mcy;&acy;</span></pre> </div> </div> </div> <div> <h3 class="text-body-emphasis"  id="_the_hard_case"><span data-i18n="36db65220b902e6e116323286e8abeffe2071fae25873e870d16819b03e52f4e/77" data-source="The hard case" onmousemove="i18n(this)">&Tcy;&yacy;&zhcy;&iecy;&lcy;&ycy;&jcy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;</span></h3> <p><span data-i18n="bb7f871b25dbf95ef7d87a483c63462d193cc2112c5b2eb54894e30995d5addb/e0" data-source="Things get more complicated if the &lt;code&gt;subsystem&lt;/code&gt; changes do not exactly correspond to the ones before the rebase." onmousemove="i18n(this)">&Scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yacy; &ucy;&scy;&lcy;&ocy;&zhcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;  <code>subsystem</code>  &ncy;&iecy; &scy;&ocy;&vcy;&scy;&iecy;&mcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &tcy;&iecy;&mcy;, &chcy;&tcy;&ocy; &bcy;&ycy;&lcy;&icy; &dcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> <div> <div class="table-responsive"><table class="table"> <tr> <td> <div><span data-i18n="d8da2c49df39d91df7ecd199b92da7bf264f026242ccc69b08daeadfe587c45b/a2" data-source="Note" onmousemove="i18n(this)">Note</span></div> </td> <td><span data-i18n="5d388115bf6eead4b49ab33162fd1ac3db709bf90de149f8fad7cc316cb5fe04/19" data-source="While an &amp;quot;easy case recovery&amp;quot; sometimes appears to be successful even in the hard case, it may have unintended consequences. For example, a commit that was removed via &lt;code&gt;git rebase
      --interactive&lt;/code&gt; will be &lt;strong&gt;resurrected&lt;/strong&gt;!" onmousemove="i18n(this)">&KHcy;&ocy;&tcy;&yacy;  &quot;easy case recovery&quot;  &icy;&ncy;&ocy;&gcy;&dcy;&acy; &kcy;&acy;&zhcy;&iecy;&tcy;&scy;&yacy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ycy;&mcy; &dcy;&acy;&zhcy;&iecy; &vcy; &scy;&lcy;&ocy;&zhcy;&ncy;&ycy;&khcy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;&khcy;, &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&mcy;&iecy;&tcy;&softcy; &ncy;&iecy;&pcy;&rcy;&iecy;&dcy;&vcy;&icy;&dcy;&iecy;&ncy;&ncy;&ycy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&scy;&tcy;&vcy;&icy;&yacy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git rebase
      --interactive</code> , &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ocy;&scy;&kcy;&rcy;&iecy;&shcy;&iecy;&ncy;!</span></td> </tr> </table></div> </div> <p><span data-i18n="5adb917459188b7db4fa6be751b3f6dfea702b313c354382aa4109878f3ec7de/7d" data-source="The idea is to manually tell &lt;code&gt;git rebase&lt;/code&gt; &amp;quot;where the old &lt;code&gt;subsystem&lt;/code&gt; ended and your &lt;code&gt;topic&lt;/code&gt; began&amp;quot;, that is, what the old merge base between them was. You will have to find a way to name the last commit of the old &lt;code&gt;subsystem&lt;/code&gt;, for example:" onmousemove="i18n(this)">&Icy;&dcy;&iecy;&yacy; &scy;&ocy;&scy;&tcy;&ocy;&icy;&tcy; &vcy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&softcy;  <code>git rebase</code>   &quot;where the old   <code>subsystem</code>   ended and your   <code>topic</code>   began&quot; , &tcy;&ocy; &iecy;&scy;&tcy;&softcy;, &kcy;&acy;&kcy;&acy;&yacy; &bcy;&ycy;&lcy;&acy; &scy;&tcy;&acy;&rcy;&acy;&yacy; &bcy;&acy;&zcy;&acy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &mcy;&iecy;&zhcy;&dcy;&ucy; &ncy;&icy;&mcy;&icy;. &Vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&ncy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &ncy;&acy;&jcy;&tcy;&icy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &ncy;&acy;&zcy;&vcy;&acy;&tcy;&softcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &scy;&tcy;&acy;&rcy;&ocy;&gcy;&ocy;  <code>subsystem</code> , &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;:</span></p> <div> <ul> <li> <p><span data-i18n="97c775328e5c1b0337e102bb6ce0ed045482ff2fe57ca9974c43e61f9cd2c100/3a" data-source="With the &lt;code&gt;subsystem&lt;/code&gt; reflog: after &lt;code&gt;git fetch&lt;/code&gt;, the old tip of &lt;code&gt;subsystem&lt;/code&gt; is at &lt;code&gt;subsystem@{1}&lt;/code&gt;. Subsequent fetches will increase the number. (See &lt;a href=&quot;git-reflog&quot;&gt;git-reflog[1]&lt;/a&gt;.)" onmousemove="i18n(this)">&Scy; &rcy;&iecy;&fcy;&lcy;&ocy;&gcy;&ocy;&mcy;  <code>subsystem</code> : &pcy;&ocy;&scy;&lcy;&iecy;  <code>git fetch</code>  &scy;&tcy;&acy;&rcy;&acy;&yacy; &pcy;&ocy;&dcy;&scy;&kcy;&acy;&zcy;&kcy;&acy;  <code>subsystem</code>  &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&acy;  <code>subsystem@{1}</code> . &Pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &ucy;&vcy;&iecy;&lcy;&icy;&chcy;&acy;&tcy; &ecy;&tcy;&ocy; &chcy;&icy;&scy;&lcy;&ocy;. (&Scy;&mcy;.  <a href="git-reflog.html">git-reflog[1]</a> .)</span></p> </li> <li> <p><span data-i18n="9c6ace149b4c2d5dae25391ac4ecaecfe452833425b81e07887512ea0246fada/13" data-source="Relative to the tip of &lt;code&gt;topic&lt;/code&gt;: knowing that your &lt;code&gt;topic&lt;/code&gt; has three commits, the old tip of &lt;code&gt;subsystem&lt;/code&gt; must be &lt;code&gt;topic~3&lt;/code&gt;." onmousemove="i18n(this)">&Ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &kcy;&ocy;&ncy;&chcy;&icy;&kcy;&acy;  <code>topic</code> : &zcy;&ncy;&acy;&yacy;, &chcy;&tcy;&ocy; &vcy;&acy;&shcy;  <code>topic</code>  &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&rcy;&icy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &scy;&tcy;&acy;&rcy;&ycy;&jcy; &scy;&ocy;&vcy;&iecy;&tcy;  <code>subsystem</code>  &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &bcy;&ycy;&tcy;&softcy;  <code>topic~3</code> .</span></p> </li> </ul> </div> <p><span data-i18n="de9a82150beca722a01c7b5852d1f2b76bdcff72203a024caadcc9043ba6c423/13" data-source="You can then transplant the old &lt;code&gt;subsystem..topic&lt;/code&gt; to the new tip by saying (for the reflog case, and assuming you are on &lt;code&gt;topic&lt;/code&gt; already):" onmousemove="i18n(this)">&Zcy;&acy;&tcy;&iecy;&mcy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&scy;&acy;&dcy;&icy;&tcy;&softcy; &scy;&tcy;&acy;&rcy;&ycy;&jcy;  <code>subsystem..topic</code>  &ncy;&acy; &ncy;&ocy;&vcy;&ycy;&jcy; &ncy;&acy;&kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&icy;&kcy;, &scy;&kcy;&acy;&zcy;&acy;&vcy; (&dcy;&lcy;&yacy; &scy;&lcy;&ucy;&chcy;&acy;&yacy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy;&jcy; &rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&acy;&tscy;&icy;&icy; &icy; &pcy;&rcy;&icy; &ucy;&scy;&lcy;&ocy;&vcy;&icy;&icy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ucy;&zhcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy;  <code>topic</code> ):</span></p> <div> <div> <pre class="hljs language-scss">    $ git rebase <span class="hljs-attr">--onto</span> subsystem subsystem@{<span class="hljs-number">1</span>}</pre> </div> </div> <p><span data-i18n="4f0e1af7cc07b76832b66699d5ae3d3d001690b04d50e581111ffdca3078a3dc/39" data-source="The ripple effect of a &amp;quot;hard case&amp;quot; recovery is especially bad: &lt;code&gt;everyone&lt;/code&gt; downstream from &lt;code&gt;topic&lt;/code&gt; will now have to perform a &amp;quot;hard case&amp;quot; recovery too!" onmousemove="i18n(this)">&Vcy;&ocy;&lcy;&ncy;&ocy;&vcy;&ocy;&jcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy; &vcy;&ocy;&scy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;  &quot;hard case&quot;  &ocy;&scy;&ocy;&bcy;&iecy;&ncy;&ncy;&ocy; &pcy;&lcy;&ocy;&khcy;:  <code>everyone</code>  &pcy;&ocy;&scy;&lcy;&iecy;  <code>topic</code>  &tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &tcy;&acy;&kcy;&zhcy;&iecy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &vcy;&ocy;&scy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;  &quot;hard case&quot; !</span></p> </div> </div> <h2 class="text-body-emphasis"  id="_rebasing_merges"><span data-i18n="44e539377a7ac2b256832a8b038ffcba8151538fc907e81b47c5c39f247ab901/0e" data-source="Rebasing merges" onmousemove="i18n(this)">Rebasing merges</span></h2> <div> <p><span data-i18n="6915204652430b168fbecb4c13cbcc6e4af416fddee09b6333aa9e434823f487/0f" data-source="The interactive rebase command was originally designed to handle individual patch series. As such, it makes sense to exclude merge commits from the todo list, as the developer may have merged the then-current &lt;code&gt;master&lt;/code&gt; while working on the branch, only to rebase all the commits onto &lt;code&gt;master&lt;/code&gt; eventually (skipping the merge commits)." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&zcy;&ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy; &bcy;&ycy;&lcy;&acy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&acy; &dcy;&lcy;&yacy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&iecy;&rcy;&icy;&jcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;. &Tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy;&zcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &zcy;&acy;&dcy;&acy;&chcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy; &mcy;&ocy;&gcy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&softcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &ncy;&acy; &tcy;&ocy;&tcy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy;  <code>master</code>  &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &rcy;&acy;&bcy;&ocy;&tcy;&ycy; &ncy;&acy;&dcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy; &kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ocy;&mcy; &icy;&tcy;&ocy;&gcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &ncy;&acy;  <code>master</code>  (&pcy;&rcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&vcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;).</span></p> <p><span data-i18n="bff8310d3eec5a23b8b9e937458674439f9fa578a57b6185ec023dade7ba2dd4/71" data-source="However, there are legitimate reasons why a developer may want to recreate merge commits: to keep the branch structure (or &amp;quot;commit topology&amp;quot;) when working on multiple, inter-related branches." onmousemove="i18n(this)">&Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &iecy;&scy;&tcy;&softcy; &zcy;&acy;&kcy;&ocy;&ncy;&ncy;&ycy;&iecy; &pcy;&rcy;&icy;&chcy;&icy;&ncy;&ycy;, &pcy;&ocy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &zcy;&acy;&khcy;&ocy;&tcy;&iecy;&tcy;&softcy; &vcy;&ocy;&scy;&scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;: &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &scy;&tcy;&rcy;&ucy;&kcy;&tcy;&ucy;&rcy;&ucy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; (&icy;&lcy;&icy;  &quot;commit topology&quot; ) &pcy;&rcy;&icy; &rcy;&acy;&bcy;&ocy;&tcy;&iecy; &scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&mcy;&icy; &vcy;&zcy;&acy;&icy;&mcy;&ocy;&scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &vcy;&iecy;&tcy;&vcy;&yacy;&mcy;&icy;.</span></p> <p><span data-i18n="b3c6f439a1ff12033e0305dc1528dd83b9f124c607dcaa06161726cc5f293404/f7" data-source="In the following example, the developer works on a topic branch that refactors the way buttons are defined, and on another topic branch that uses that refactoring to implement a &amp;quot;Report a bug&amp;quot; button. The output of &lt;code&gt;git log --graph --format=%s -5&lt;/code&gt; may look like this:" onmousemove="i18n(this)">&Vcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &ncy;&acy;&dcy; &vcy;&iecy;&tcy;&vcy;&softcy;&yucy; &tcy;&iecy;&mcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; &rcy;&iecy;&fcy;&acy;&kcy;&tcy;&ocy;&rcy;&icy;&ncy;&gcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&acy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &kcy;&ncy;&ocy;&pcy;&ocy;&kcy;, &icy; &ncy;&acy;&dcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &vcy;&iecy;&tcy;&vcy;&softcy;&yucy; &tcy;&iecy;&mcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&fcy;&acy;&kcy;&tcy;&ocy;&rcy;&icy;&ncy;&gcy; &dcy;&lcy;&yacy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &kcy;&ncy;&ocy;&pcy;&kcy;&icy;  &quot;Report a bug&quot; . &Vcy;&ycy;&vcy;&ocy;&dcy;  <code>git log --graph --format=%s -5</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&iecy;&tcy;&softcy; &tcy;&acy;&kcy;:</span></p> <div> <div> <pre class="hljs language-sql"><span class="hljs-operator">*</span>   <span class="hljs-keyword">Merge</span> branch <span class="hljs-string">&apos;report-a-bug&apos;</span>
<span class="hljs-operator">|</span>\
<span class="hljs-operator">|</span> <span class="hljs-operator">*</span> <span class="hljs-keyword">Add</span> the feedback button
<span class="hljs-operator">*</span> <span class="hljs-operator">|</span> <span class="hljs-keyword">Merge</span> branch <span class="hljs-string">&apos;refactor-button&apos;</span>
<span class="hljs-operator">|</span>\ \
<span class="hljs-operator">|</span> <span class="hljs-operator">|</span><span class="hljs-operator">/</span>
<span class="hljs-operator">|</span> <span class="hljs-operator">*</span> Use the Button class <span class="hljs-keyword">for</span> <span class="hljs-keyword">all</span> buttons
<span class="hljs-operator">|</span> <span class="hljs-operator">*</span> Extract a generic Button class <span class="hljs-keyword">from</span> the DownloadButton <span class="hljs-keyword">one</span></pre> </div> </div> <p><span data-i18n="91b558c3e298b7f5ed3655d507f1dd227857b538c31ea321f1aef9cd8f31d320/d3" data-source="The developer might want to rebase those commits to a newer &lt;code&gt;master&lt;/code&gt; while keeping the branch topology, for example when the first topic branch is expected to be integrated into &lt;code&gt;master&lt;/code&gt; much earlier than the second one, say, to resolve merge conflicts with changes to the DownloadButton class that made it into &lt;code&gt;master&lt;/code&gt;." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &zcy;&acy;&khcy;&ocy;&tcy;&iecy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&ncy;&iecy;&scy;&tcy;&icy; &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &ncy;&acy; &bcy;&ocy;&lcy;&iecy;&iecy; &ncy;&ocy;&vcy;&ucy;&yucy; &vcy;&iecy;&rcy;&scy;&icy;&yucy;  <code>master</code> , &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&vcy; &pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &tcy;&ocy;&pcy;&ocy;&lcy;&ocy;&gcy;&icy;&yucy; &vcy;&iecy;&tcy;&kcy;&icy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &pcy;&iecy;&rcy;&vcy;&acy;&yacy; &tcy;&iecy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&acy; &vcy;  <code>master</code>  &ncy;&acy;&mcy;&ncy;&ocy;&gcy;&ocy; &rcy;&acy;&ncy;&softcy;&shcy;&iecy;, &chcy;&iecy;&mcy; &vcy;&tcy;&ocy;&rcy;&acy;&yacy;, &scy;&kcy;&acy;&zhcy;&iecy;&mcy;, &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy; &vcy; DownloadButton. &kcy;&lcy;&acy;&scy;&scy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ocy;&shcy;&iocy;&lcy; &vcy;  <code>master</code> .</span></p> <p><span data-i18n="98e44668d74b6a1927f61c1608f3db5c87ca59518506f83916833673759c5cf6/9c" data-source="This rebase can be performed using the &lt;code&gt;--rebase-merges&lt;/code&gt; option. It will generate a todo list looking like this:" onmousemove="i18n(this)">&Ecy;&tcy;&ucy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&gcy;&rcy;&ucy;&zcy;&kcy;&ucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--rebase-merges</code> . &Ocy;&ncy; &scy;&gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &zcy;&acy;&dcy;&acy;&chcy;, &pcy;&ocy;&khcy;&ocy;&zhcy;&icy;&jcy; &ncy;&acy; &ecy;&tcy;&ocy;&tcy;:</span></p> <div> <div> <pre class="hljs language-sql">label onto

# Branch: refactor<span class="hljs-operator">-</span>button
reset onto
pick <span class="hljs-number">123456</span> Extract a generic Button class <span class="hljs-keyword">from</span> the DownloadButton <span class="hljs-keyword">one</span>
pick <span class="hljs-number">654321</span> Use the Button class <span class="hljs-keyword">for</span> <span class="hljs-keyword">all</span> buttons
label refactor<span class="hljs-operator">-</span>button

# Branch: report<span class="hljs-operator">-</span>a<span class="hljs-operator">-</span>bug
reset refactor<span class="hljs-operator">-</span>button # Use the Button class <span class="hljs-keyword">for</span> <span class="hljs-keyword">all</span> buttons
pick abcdef <span class="hljs-keyword">Add</span> the feedback button
label report<span class="hljs-operator">-</span>a<span class="hljs-operator">-</span>bug

reset onto
<span class="hljs-keyword">merge</span> <span class="hljs-operator">-</span>C a1b2c3 refactor<span class="hljs-operator">-</span>button # <span class="hljs-keyword">Merge</span> <span class="hljs-string">&apos;refactor-button&apos;</span>
<span class="hljs-keyword">merge</span> <span class="hljs-operator">-</span>C <span class="hljs-number">6</span>f5e4d report<span class="hljs-operator">-</span>a<span class="hljs-operator">-</span>bug # <span class="hljs-keyword">Merge</span> <span class="hljs-string">&apos;report-a-bug&apos;</span></pre> </div> </div> <p><span data-i18n="69888d3bea595caac8d9c0f21a9cbc0bcba125f5d12045e8f15702bf7d59508f/81" data-source="In contrast to a regular interactive rebase, there are &lt;code&gt;label&lt;/code&gt;, &lt;code&gt;reset&lt;/code&gt; and &lt;code&gt;merge&lt;/code&gt; commands in addition to &lt;code&gt;pick&lt;/code&gt; ones." onmousemove="i18n(this)">&Vcy; &ocy;&tcy;&lcy;&icy;&chcy;&icy;&iecy; &ocy;&tcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy;&gcy;&ocy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&bcy;&acy;&zcy;&acy;, &pcy;&ocy;&mcy;&icy;&mcy;&ocy;  <code>pick</code>  &iecy;&scy;&tcy;&softcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>label</code> ,  <code>reset</code>  &icy;  <code>merge</code> .</span></p> <p><span data-i18n="d0e7f3f7fe178e638a62aeed6c8790d05cdb38142cc8decce2c5a6f5958f16be/d3" data-source="The &lt;code&gt;label&lt;/code&gt; command associates a label with the current HEAD when that command is executed. These labels are created as worktree-local refs (&lt;code&gt;refs/rewritten/&amp;lt;label&amp;gt;&lt;/code&gt;) that will be deleted when the rebase finishes. That way, rebase operations in multiple worktrees linked to the same repository do not interfere with one another. If the &lt;code&gt;label&lt;/code&gt; command fails, it is rescheduled immediately, with a helpful message how to proceed." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>label</code>  &scy;&vcy;&yacy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &mcy;&iecy;&tcy;&kcy;&ucy; &scy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&mcy; HEAD &pcy;&rcy;&icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&icy; &ecy;&tcy;&ocy;&jcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;. &Ecy;&tcy;&icy; &mcy;&iecy;&tcy;&kcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&yucy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; (  <code>refs/rewritten/&lt;label&gt;</code>  ), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; &pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&khcy; &dcy;&iecy;&rcy;&iecy;&vcy;&softcy;&yacy;&khcy;, &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&khcy; &scy; &ocy;&dcy;&ncy;&icy;&mcy; &icy; &tcy;&iecy;&mcy; &zhcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy;, &ncy;&iecy; &mcy;&iecy;&shcy;&acy;&yucy;&tcy; &dcy;&rcy;&ucy;&gcy; &dcy;&rcy;&ucy;&gcy;&ucy;. &IEcy;&scy;&lcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>label</code>  &ncy;&iecy; &ucy;&dcy;&acy;&lcy;&acy;&scy;&softcy;, &ocy;&ncy;&acy; &ncy;&iecy;&mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&pcy;&lcy;&acy;&ncy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy;&mcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;&mcy; &ocy; &tcy;&ocy;&mcy;, &kcy;&acy;&kcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy;.</span></p> <p><span data-i18n="d2f815877cf9ce7e57ac43a3d83b044ae42df06ec4ae2639dd689878c8c9cb89/cc" data-source="The &lt;code&gt;reset&lt;/code&gt; command resets the HEAD, index and worktree to the specified revision. It is similar to an &lt;code&gt;exec git reset --hard &amp;lt;label&amp;gt;&lt;/code&gt;, but refuses to overwrite untracked files. If the &lt;code&gt;reset&lt;/code&gt; command fails, it is rescheduled immediately, with a helpful message how to edit the todo list (this typically happens when a &lt;code&gt;reset&lt;/code&gt; command was inserted into the todo list manually and contains a typo)." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>reset</code>  &scy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; HEAD, &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &dcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy;. &Ocy;&ncy; &pcy;&ocy;&khcy;&ocy;&zhcy; &ncy;&acy;  <code>exec git reset --hard &lt;label&gt;</code> , &ncy;&ocy; &ocy;&tcy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;. &IEcy;&scy;&lcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>reset</code>  &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;, &ocy;&ncy;&acy; &ncy;&iecy;&mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ncy;&ocy;&scy;&icy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy;&mcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;&mcy; &ocy; &tcy;&ocy;&mcy;, &kcy;&acy;&kcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &zcy;&acy;&dcy;&acy;&chcy; (&ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy;, &kcy;&ocy;&gcy;&dcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>reset</code>  &bcy;&ycy;&lcy;&acy; &vcy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&vcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &zcy;&acy;&dcy;&acy;&chcy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &ocy;&pcy;&iecy;&chcy;&acy;&tcy;&kcy;&ucy;).</span></p> <p><span data-i18n="5549c84ae24276819cc9614afdaf20bc8b3c81a1835cbf69c4fdcc113c8a2ac7/c4" data-source="The &lt;code&gt;merge&lt;/code&gt; command will merge the specified revision(s) into whatever is HEAD at that time. With &lt;code&gt;-C &amp;lt;original-commit&amp;gt;&lt;/code&gt;, the commit message of the specified merge commit will be used. When the &lt;code&gt;-C&lt;/code&gt; is changed to a lower-case &lt;code&gt;-c&lt;/code&gt;, the message will be opened in an editor after a successful merge so that the user can edit the message." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>merge</code>  &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &rcy;&iecy;&vcy;&icy;&zcy;&icy;&icy; &scy; &tcy;&iecy;&mcy;, &chcy;&tcy;&ocy; &vcy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; HEAD. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>-C &lt;original-commit&gt;</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Kcy;&ocy;&gcy;&dcy;&acy;  <code>-C</code>  &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&acy;  <code>-c</code>  &vcy; &ncy;&icy;&zhcy;&ncy;&iecy;&mcy; &rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&iecy;, &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy;&tcy;&kcy;&rcy;&ocy;&iecy;&tcy;&scy;&yacy; &vcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &mcy;&ocy;&gcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy;.</span></p> <p><span data-i18n="9342edc4bedc9d147e06ed593147919b8ef107333f341a12256846b4ebd5c2f9/45" data-source="If a &lt;code&gt;merge&lt;/code&gt; command fails for any reason other than merge conflicts (i.e. when the merge operation did not even start), it is rescheduled immediately." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>merge</code>  &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy; &pcy;&ocy; &kcy;&acy;&kcy;&ocy;&jcy;-&lcy;&icy;&bcy;&ocy; &pcy;&rcy;&icy;&chcy;&icy;&ncy;&iecy;, &kcy;&rcy;&ocy;&mcy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; (&tcy;. &iecy;. &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &dcy;&acy;&zhcy;&iecy; &ncy;&iecy; &ncy;&acy;&chcy;&acy;&lcy;&acy;&scy;&softcy;), &ocy;&ncy;&acy; &ncy;&iecy;&mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&pcy;&lcy;&acy;&ncy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;.</span></p> <p><span data-i18n="f4886bc6874feb81769b962ef6ac5660ab512231baa939f4e37bea3dad6c6633/e5" data-source="By default, the &lt;code&gt;merge&lt;/code&gt; command will use the &lt;code&gt;ort&lt;/code&gt; merge strategy for regular merges, and &lt;code&gt;octopus&lt;/code&gt; for octopus merges. One can specify a default strategy for all merges using the &lt;code&gt;--strategy&lt;/code&gt; argument when invoking rebase, or can override specific merges in the interactive list of commands by using an &lt;code&gt;exec&lt;/code&gt; command to call &lt;code&gt;git merge&lt;/code&gt; explicitly with a &lt;code&gt;--strategy&lt;/code&gt; argument. Note that when calling &lt;code&gt;git
merge&lt;/code&gt; explicitly like this, you can make use of the fact that the labels are worktree-local refs (the ref &lt;code&gt;refs/rewritten/onto&lt;/code&gt; would correspond to the label &lt;code&gt;onto&lt;/code&gt;, for example) in order to refer to the branches you want to merge." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>merge</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;  <code>ort</code>  &dcy;&lcy;&yacy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&jcy; &icy;  <code>octopus</code>  &dcy;&lcy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&jcy; Octopus. &Mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yucy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&jcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;  <code>--strategy</code>  &pcy;&rcy;&icy; &vcy;&ycy;&zcy;&ocy;&vcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &icy;&lcy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&pcy;&icy;&scy;&kcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  <code>exec</code>  &dcy;&lcy;&yacy; &yacy;&vcy;&ncy;&ocy;&gcy;&ocy; &vcy;&ycy;&zcy;&ocy;&vcy;&acy;  <code>git merge</code>  &scy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&mcy;  <code>--strategy</code> . &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy; &yacy;&vcy;&ncy;&ocy;&mcy; &vcy;&ycy;&zcy;&ocy;&vcy;&iecy;  <code>git
merge</code>  &tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;&tcy; &fcy;&acy;&kcy;&tcy;, &chcy;&tcy;&ocy; &mcy;&iecy;&tcy;&kcy;&icy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&acy;&mcy;&icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &scy;&scy;&ycy;&lcy;&kcy;&acy;  <code>refs/rewritten/onto</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &mcy;&iecy;&tcy;&kcy;&iecy;  <code>onto</code>  ), &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&scy;&ycy;&lcy;&acy;&tcy;&softcy;&scy;&yacy; &ncy;&acy; &vcy;&iecy;&tcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy;&softcy;.</span></p> <p><span data-i18n="de8a359a06ae70653ce129f5a33b1c03fbbce751b75adf25dc2f097d55904fb1/49" data-source="Note: the first command (&lt;code&gt;label onto&lt;/code&gt;) labels the revision onto which the commits are rebased; The name &lt;code&gt;onto&lt;/code&gt; is just a convention, as a nod to the &lt;code&gt;--onto&lt;/code&gt; option." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&iecy;: &pcy;&iecy;&rcy;&vcy;&acy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; (  <code>label onto</code>  ) &ocy;&tcy;&mcy;&iecy;&chcy;&acy;&iecy;&tcy; &rcy;&iecy;&vcy;&icy;&zcy;&icy;&yucy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;; &Ncy;&acy;&zcy;&vcy;&acy;&ncy;&icy;&iecy;  <code>onto</code>  &mdash; &ecy;&tcy;&ocy; &vcy;&scy;&iecy;&gcy;&ocy; &lcy;&icy;&shcy;&softcy; &ucy;&scy;&lcy;&ocy;&vcy;&ncy;&ocy;&scy;&tcy;&softcy;, &ocy;&tcy;&scy;&ycy;&lcy;&kcy;&acy; &kcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ucy;  <code>--onto</code> .</span></p> <p><span data-i18n="6cce986f601d5599c6f0d6c4362cfbf3fda9bfc718ddc35a755e7715ba3c38f2/50" data-source="It is also possible to introduce completely new merge commits from scratch by adding a command of the form &lt;code&gt;merge &amp;lt;merge-head&amp;gt;&lt;/code&gt;. This form will generate a tentative commit message and always open an editor to let the user edit it. This can be useful e.g. when a topic branch turns out to address more than a single concern and wants to be split into two or even more topic branches. Consider this todo list:" onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &vcy;&vcy;&iecy;&scy;&tcy;&icy; &scy;&ocy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&ncy;&ocy; &ncy;&ocy;&vcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy; &ncy;&ucy;&lcy;&yacy;, &dcy;&ocy;&bcy;&acy;&vcy;&icy;&vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy; &vcy;&icy;&dcy;&acy;  <code>merge &lt;merge-head&gt;</code> . &Ecy;&tcy;&acy; &fcy;&ocy;&rcy;&mcy;&acy; &gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&vcy;&acy;&rcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &ocy;&tcy;&kcy;&rcy;&ycy;&vcy;&acy;&iecy;&tcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&shchcy;&icy;&jcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yucy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &iecy;&gcy;&ocy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &kcy;&ocy;&gcy;&dcy;&acy; &tcy;&iecy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &rcy;&iecy;&shcy;&acy;&iecy;&tcy; &bcy;&ocy;&lcy;&iecy;&iecy; &chcy;&iecy;&mcy; &ocy;&dcy;&ncy;&ucy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ucy; &icy; &iecy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ncy;&acy; &dcy;&vcy;&iecy; &icy;&lcy;&icy; &dcy;&acy;&zhcy;&iecy; &bcy;&ocy;&lcy;&iecy;&iecy; &tcy;&iecy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;. &Rcy;&acy;&scy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&mcy; &ecy;&tcy;&ocy;&tcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &zcy;&acy;&dcy;&acy;&chcy;:</span></p> <div> <div> <pre class="hljs language-objectivec">pick <span class="hljs-number">192837</span> Switch from GNU Makefiles to <span class="hljs-built_in">CMake</span>
pick <span class="hljs-number">5</span>a6c7e Document the <span class="hljs-keyword">switch</span> to <span class="hljs-built_in">CMake</span>
pick <span class="hljs-number">918273</span> Fix detection of OpenSSL <span class="hljs-keyword">in</span> <span class="hljs-built_in">CMake</span>
pick afbecd http: add support <span class="hljs-keyword">for</span> TLS v1<span class="hljs-number">.3</span>
pick fdbaec Fix detection of cURL <span class="hljs-keyword">in</span> <span class="hljs-built_in">CMake</span> on Windows</pre> </div> </div> <p><span data-i18n="b51fe3471b9bd24ae56051ccdaac609aeb84b8e02a9f602345ceebc480a1ac31/02" data-source="The one commit in this list that is not related to CMake may very well have been motivated by working on fixing all those bugs introduced by switching to CMake, but it addresses a different concern. To split this branch into two topic branches, the todo list could be edited like this:" onmousemove="i18n(this)">&Ocy;&dcy;&icy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&pcy;&icy;&scy;&kcy;&iecy;, &ncy;&iecy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &scy; CMake, &vcy;&pcy;&ocy;&lcy;&ncy;&iecy; &mcy;&ocy;&gcy; &bcy;&ycy;&tcy;&softcy; &mcy;&ocy;&tcy;&icy;&vcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy; &rcy;&acy;&bcy;&ocy;&tcy;&ocy;&jcy; &ncy;&acy;&dcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;&mcy; &vcy;&scy;&iecy;&khcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;, &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&shcy;&icy;&khcy; &pcy;&rcy;&icy; &pcy;&iecy;&rcy;&iecy;&khcy;&ocy;&dcy;&iecy; &ncy;&acy; CMake, &ncy;&ocy; &ocy;&ncy; &rcy;&iecy;&shcy;&acy;&iecy;&tcy; &dcy;&rcy;&ucy;&gcy;&ucy;&yucy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ucy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ecy;&tcy;&ucy; &vcy;&iecy;&tcy;&kcy;&ucy; &ncy;&acy; &dcy;&vcy;&iecy; &tcy;&iecy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;, &scy;&pcy;&icy;&scy;&ocy;&kcy; &dcy;&iecy;&lcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;:</span></p> <div> <div> <pre class="hljs language-objectivec">label onto

pick afbecd http: add support <span class="hljs-keyword">for</span> TLS v1<span class="hljs-number">.3</span>
label tlsv1<span class="hljs-number">.3</span>

reset onto
pick <span class="hljs-number">192837</span> Switch from GNU Makefiles to <span class="hljs-built_in">CMake</span>
pick <span class="hljs-number">918273</span> Fix detection of OpenSSL <span class="hljs-keyword">in</span> <span class="hljs-built_in">CMake</span>
pick fdbaec Fix detection of cURL <span class="hljs-keyword">in</span> <span class="hljs-built_in">CMake</span> on Windows
pick <span class="hljs-number">5</span>a6c7e Document the <span class="hljs-keyword">switch</span> to <span class="hljs-built_in">CMake</span>
label cmake

reset onto
merge tlsv1<span class="hljs-number">.3</span>
merge cmake</pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="5b8d919fa35b75aa925ebd5414ed6373e762fb0a087a062961c27b2ce9586555/57" data-source="Everything below this line in this section is selectively included from the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; documentation. The content is the same as what&amp;rsquo;s found there:" onmousemove="i18n(this)">&Vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;, &vcy;&ycy;&bcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &icy;&zcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&icy;  <a href="git-config.html">git-config[1]</a> . &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&iecy; &tcy;&acy;&kcy;&ocy;&iecy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ocy;&iecy; &tcy;&acy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-rebase.txt-rebasebackend"><span data-i18n="9f2eecfec681a61d84ed661a423b87cbb1079002cdc858a1d56559af25097b8d/2b" data-source="rebase.backend" onmousemove="i18n(this)">rebase.backend</span></dt> <dd> <p><span data-i18n="96ea2f05aa867793ed6689177819fd6666cafab648a1a8a00f79651fb4e61623/c7" data-source="Default backend to use for rebasing. Possible choices are &lt;code&gt;apply&lt;/code&gt; or &lt;code&gt;merge&lt;/code&gt;. In the future, if the merge backend gains all remaining capabilities of the apply backend, this setting may become unused." onmousemove="i18n(this)">&Scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&acy;&yacy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ycy;&iecy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy;:  <code>apply</code>  &icy;&lcy;&icy;  <code>merge</code> . &Vcy; &bcy;&ucy;&dcy;&ucy;&shchcy;&iecy;&mcy;, &iecy;&scy;&lcy;&icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy; &vcy;&scy;&iecy; &ocy;&scy;&tcy;&acy;&vcy;&shcy;&icy;&iecy;&scy;&yacy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ncy;&ocy;&jcy; &chcy;&acy;&scy;&tcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&tcy;&acy;&tcy;&softcy; &ncy;&iecy;&icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebasestat"><span data-i18n="3ac8726a9497d5e1d12882ab80c4fc52accfa8b70413c5717cd66743e1abaa8c/6e" data-source="rebase.stat" onmousemove="i18n(this)">rebase.stat</span></dt> <dd> <p><span data-i18n="c25b15a5cb929f14b1edb71ad19697befba5de217f568d672843795b030537b0/03" data-source="Whether to show a diffstat of what changed upstream since the last rebase. False by default." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy; &lcy;&icy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&kcy;&ucy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&ocy;&scy;&softcy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &kcy;&ocy;&dcy;&iecy; &scy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy;&acy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&jcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy;.  False  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaseautoSquash"><span data-i18n="35c84abfa5660011cf6ff311d0df9c8754d0873d6a2322782fb793e2f5ecfee0/3e" data-source="rebase.autoSquash" onmousemove="i18n(this)">rebase.autoSquash</span></dt> <dd> <p><span data-i18n="31ff70d01107718f965312ebdb825efb2cdd1ce899752d211d6b90c636cae56a/fb" data-source="If set to true enable &lt;code&gt;--autosquash&lt;/code&gt; option by default." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  true , &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--autosquash</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaseautoStash"><span data-i18n="ec4eb906849826514fe47dae5b3e76bcd5badac52c7530fdb0f7a6df7975bb0a/89" data-source="rebase.autoStash" onmousemove="i18n(this)">rebase.autoStash</span></dt> <dd> <p><span data-i18n="d5a1b769a58b321c071ef36e99a117ef4545bc64d6e40347533f680d1817068e/33" data-source="When set to true, automatically create a temporary stash entry before the operation begins, and apply it after the operation ends. This means that you can run rebase on a dirty worktree. However, use with care: the final stash application after a successful rebase might result in non-trivial conflicts. This option can be overridden by the &lt;code&gt;--no-autostash&lt;/code&gt; and &lt;code&gt;--autostash&lt;/code&gt; options of &lt;a href=&quot;git-rebase&quot;&gt;git-rebase[1]&lt;/a&gt;. Defaults to false." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true, &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &tcy;&acy;&jcy;&ncy;&icy;&kcy;&acy; &pcy;&iecy;&rcy;&iecy;&dcy; &ncy;&acy;&chcy;&acy;&lcy;&ocy;&mcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &iecy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;. &Ecy;&tcy;&ocy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; rebase &ncy;&acy; &laquo;&gcy;&rcy;&yacy;&zcy;&ncy;&ocy;&mcy;&raquo; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &bcy;&ucy;&dcy;&softcy;&tcy;&iecy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ycy;: &pcy;&rcy;&icy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&iecy; &ocy;&kcy;&ocy;&ncy;&chcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ecy;&shcy;&acy; &pcy;&ocy;&scy;&lcy;&iecy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&vcy;&iecy;&scy;&tcy;&icy; &kcy; &ncy;&iecy;&tcy;&rcy;&icy;&vcy;&icy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy;&mcy;. &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yacy;&mcy;&icy;  <code>--no-autostash</code>  &icy;  <code>--autostash</code>  &dcy;&lcy;&yacy;  <a href="git-rebase.html">git-rebase[1]</a> . &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &lcy;&ocy;&zhcy;&softcy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaseupdateRefs"><span data-i18n="054a718df213430343cfbbb2bc73f67dcd63662a3fdb1d1946f9839db9805d11/db" data-source="rebase.updateRefs" onmousemove="i18n(this)">rebase.updateRefs</span></dt> <dd> <p><span data-i18n="7644d5c539ff0e2fca37bea93a66d20a4f2f1aee916f4d3d9c16338991a52ab4/d9" data-source="If set to true enable &lt;code&gt;--update-refs&lt;/code&gt; option by default." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  true , &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--update-refs</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebasemissingCommitsCheck"><span data-i18n="eea39b62044c7733f8085da1342e3c413d536c56e44ad58feaca9c6b3c5230aa/99" data-source="rebase.missingCommitsCheck" onmousemove="i18n(this)">rebase.missingCommitsCheck</span></dt> <dd> <p><span data-i18n="4c2a95040bc38ad7dc63a53278f6872d6db881c4fb9b30fd88512667d2faadc4/ab" data-source="If set to &amp;quot;warn&amp;quot;, git rebase -i will print a warning if some commits are removed (e.g. a line was deleted), however the rebase will still proceed. If set to &amp;quot;error&amp;quot;, it will print the previous warning and stop the rebase, &lt;code&gt;git rebase --edit-todo&lt;/code&gt; can then be used to correct the error. If set to &amp;quot;ignore&amp;quot;, no checking is done. To drop a commit without warning or error, use the &lt;code&gt;drop&lt;/code&gt; command in the todo list. Defaults to &amp;quot;ignore&amp;quot;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;warn&quot; ,  git  rebase -i &vcy;&ycy;&vcy;&iecy;&dcy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &scy;&tcy;&rcy;&ocy;&kcy;&acy; &bcy;&ycy;&lcy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&acy;), &ocy;&dcy;&ncy;&acy;&kcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &vcy;&scy;&iecy; &rcy;&acy;&vcy;&ncy;&ocy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&scy;&yacy;. &IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;error&quot; , &bcy;&ucy;&dcy;&iecy;&tcy; &ncy;&acy;&pcy;&iecy;&chcy;&acy;&tcy;&acy;&ncy;&ocy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&iecy;&iecy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy; &icy; &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;. &Zcy;&acy;&tcy;&iecy;&mcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>git rebase --edit-todo</code>  &dcy;&lcy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;. &IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;ignore&quot; , &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&acy; &ncy;&iecy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &bcy;&iecy;&zcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  <code>drop</code>  &vcy; &scy;&pcy;&icy;&scy;&kcy;&iecy; &zcy;&acy;&dcy;&acy;&chcy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;  &quot;ignore&quot; .</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaseinstructionFormat"><span data-i18n="63cc405bd534b3c27e273c9b52d3c43b2613e14b60dcbb483ac4bda233a6e4db/6c" data-source="rebase.instructionFormat" onmousemove="i18n(this)">rebase.instructionFormat</span></dt> <dd> <p><span data-i18n="1de41306337278b76bd37aae370043a2cbd0083ebfa7556c8499a8969d37d373/14" data-source="A format string, as specified in &lt;a href=&quot;git-log&quot;&gt;git-log[1]&lt;/a&gt;, to be used for the todo list during an interactive rebase. The format will automatically have the commit hash prepended to the format." onmousemove="i18n(this)">&Scy;&tcy;&rcy;&ocy;&kcy;&acy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&acy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&acy;&yacy; &vcy;  <a href="git-log.html">git-log[1]</a>  , &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &scy;&pcy;&icy;&scy;&kcy;&acy; &zcy;&acy;&dcy;&acy;&chcy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Kcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&ucy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &khcy;&iecy;&shcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaseabbreviateCommands"><span data-i18n="7d4a650da0dd39612efc6aaa8a059037d670487452417c93aa65a59488281ce6/63" data-source="rebase.abbreviateCommands" onmousemove="i18n(this)">rebase.abbreviateCommands</span></dt> <dd> <p><span data-i18n="97746713810889cb0805bd4dc41608c667c0152bbe5a5740af2e5da31fa75404/9d" data-source="If set to true, &lt;code&gt;git rebase&lt;/code&gt; will use abbreviated command names in the todo list resulting in something like this:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true,  <code>git rebase</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&ncy;&ycy;&iecy; &icy;&mcy;&iecy;&ncy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; &vcy; &scy;&pcy;&icy;&scy;&kcy;&iecy; &zcy;&acy;&dcy;&acy;&chcy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &chcy;&iecy;&mcy;&ucy;-&tcy;&ocy; &vcy;&rcy;&ocy;&dcy;&iecy; &ecy;&tcy;&ocy;&gcy;&ocy;:</span></p> <div> <div> <pre class="hljs language-css">        <span class="hljs-selector-tag">p</span> deadbee The oneline of the commit
        <span class="hljs-selector-tag">p</span> fa1afe1 The oneline of the next commit
        ...</pre> </div> </div> <p><span data-i18n="be500941901195488c200fa9a0d226f9e82530924d74184cd1d4b1ced0c5cdde/73" data-source="instead of:" onmousemove="i18n(this)">instead of:</span></p> <div> <div> <pre class="hljs language-sql">        pick deadbee The oneline <span class="hljs-keyword">of</span> the <span class="hljs-keyword">commit</span>
        pick fa1afe1 The oneline <span class="hljs-keyword">of</span> the next <span class="hljs-keyword">commit</span>
        ...</pre> </div> </div> <p><span data-i18n="ca2d0ed61fdc06e3c98cc21dbbc37bcfc2ff327ffddf3f455cb52d0723f67e93/4f" data-source="Defaults to false." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &lcy;&ocy;&zhcy;&softcy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaserescheduleFailedExec"><span data-i18n="bf055e9579c47189f16c765db3575adedd8c0ee2f4f68e46a781681b7d0c48f1/e4" data-source="rebase.rescheduleFailedExec" onmousemove="i18n(this)">rebase.rescheduleFailedExec</span></dt> <dd> <p><span data-i18n="2ebe27a058fdb2c4b5cc8265d1580a4992a15dc05a9288ba2e9e17890be44b77/06" data-source="Automatically reschedule &lt;code&gt;exec&lt;/code&gt; commands that failed. This only makes sense in interactive mode (or when an &lt;code&gt;--exec&lt;/code&gt; option was provided). This is the same as specifying the &lt;code&gt;--reschedule-failed-exec&lt;/code&gt; option." onmousemove="i18n(this)">&Acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&iecy;&rcy;&iecy;&pcy;&lcy;&acy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>exec</code> . &Ecy;&tcy;&ocy; &icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &icy;&ncy;&tcy;&iecy;&rcy;&acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy; (&icy;&lcy;&icy; &kcy;&ocy;&gcy;&dcy;&acy; &bcy;&ycy;&lcy;&acy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&ocy;&pcy;&tscy;&icy;&yacy;  <code>--exec</code> ). &Ecy;&tcy;&ocy; &tcy;&ocy; &zhcy;&iecy; &scy;&acy;&mcy;&ocy;&iecy;, &chcy;&tcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--reschedule-failed-exec</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaseforkPoint"><span data-i18n="8e3f232ed49aaaebdb901280b82798b0f4575c73e16a940341a8f1d58dde2cf3/ba" data-source="rebase.forkPoint" onmousemove="i18n(this)">rebase.forkPoint</span></dt> <dd> <p><span data-i18n="044cd61b450e436f48843c62049f3c2a9cc9c66d27e5d052b3ef160de207dfca/3a" data-source="If set to false set &lt;code&gt;--no-fork-point&lt;/code&gt; option by default." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  false , &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;  <code>--no-fork-point</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebaserebaseMerges"><span data-i18n="9047a20f90fb830d96cf5f8094718ecb1be64a2a77eeef222b0f249f1d95c8f0/df" data-source="rebase.rebaseMerges" onmousemove="i18n(this)">rebase.rebaseMerges</span></dt> <dd> <p><span data-i18n="48e09e4bea7068b181bbdecc39d9615749f7a3d7b5885b7b349055318f924566/8a" data-source="Whether and how to set the &lt;code&gt;--rebase-merges&lt;/code&gt; option by default. Can be &lt;code&gt;rebase-cousins&lt;/code&gt;, &lt;code&gt;no-rebase-cousins&lt;/code&gt;, or a boolean. Setting to true or to &lt;code&gt;no-rebase-cousins&lt;/code&gt; is equivalent to &lt;code&gt;--rebase-merges=no-rebase-cousins&lt;/code&gt;, setting to &lt;code&gt;rebase-cousins&lt;/code&gt; is equivalent to &lt;code&gt;--rebase-merges=rebase-cousins&lt;/code&gt;, and setting to false is equivalent to &lt;code&gt;--no-rebase-merges&lt;/code&gt;. Passing &lt;code&gt;--rebase-merges&lt;/code&gt; on the command line, with or without an argument, overrides any &lt;code&gt;rebase.rebaseMerges&lt;/code&gt; configuration." onmousemove="i18n(this)">&Mcy;&ocy;&zhcy;&ncy;&ocy; &lcy;&icy; &icy; &kcy;&acy;&kcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--rebase-merges</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy;  <code>rebase-cousins</code>  ,  <code>no-rebase-cousins</code>  &icy;&lcy;&icy; &lcy;&ocy;&gcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;. &Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&acy;  true  &icy;&lcy;&icy;  <code>no-rebase-cousins</code>  &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&acy;  <code>--rebase-merges=no-rebase-cousins</code> , &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&acy;  <code>rebase-cousins</code>  &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&acy;  <code>--rebase-merges=rebase-cousins</code> , &acy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&acy;  false  &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&acy;  <code>--no-rebase-merges</code> . &Pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy;  <code>--rebase-merges</code>  &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &scy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&mcy; &icy;&lcy;&icy; &bcy;&iecy;&zcy; &ncy;&iecy;&gcy;&ocy; &ocy;&tcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &lcy;&yucy;&bcy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yucy;  <code>rebase.rebaseMerges</code> .</span></p> </dd> <dt id="Documentation/git-rebase.txt-rebasemaxLabelLength"><span data-i18n="11c5c51d6a59c6d0ee26e37a8fe90509e39ddafe2398fb93d4a9fa6dfbd90518/e9" data-source="rebase.maxLabelLength" onmousemove="i18n(this)">rebase.maxLabelLength</span></dt> <dd> <p><span data-i18n="8f2fc7da934b7e660a111b4aca4cedba50acd22bd160d385dd99393441edb8bb/3a" data-source="When generating label names from commit subjects, truncate the names to this length. By default, the names are truncated to a little less than &lt;code&gt;NAME_MAX&lt;/code&gt; (to allow e.g. &lt;code&gt;.lock&lt;/code&gt; files to be written for the corresponding loose refs)." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&icy; &icy;&mcy;&iecy;&ncy; &mcy;&iecy;&tcy;&ocy;&kcy; &icy;&zcy; &scy;&ucy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &ucy;&scy;&iecy;&kcy;&acy;&jcy;&tcy;&iecy; &icy;&mcy;&iecy;&ncy;&acy; &dcy;&ocy; &ecy;&tcy;&ocy;&jcy; &dcy;&lcy;&icy;&ncy;&ycy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&mcy;&iecy;&ncy;&acy; &ucy;&scy;&iecy;&kcy;&acy;&yucy;&tcy;&scy;&yacy; &dcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;, &ncy;&iecy;&mcy;&ncy;&ocy;&gcy;&ocy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy;&gcy;&ocy;, &chcy;&iecy;&mcy;  <code>NAME_MAX</code>  (&chcy;&tcy;&ocy;&bcy;&ycy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy;  <code>.lock</code>  &dcy;&lcy;&yacy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &scy;&vcy;&ocy;&bcy;&ocy;&dcy;&ncy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;).</span></p> </dd> <dt id="Documentation/git-rebase.txt-sequenceeditor"><span data-i18n="4382a958812052d329131291bdf5d6e51ca9a547c8f216c3245a868745149a0f/61" data-source="sequence.editor" onmousemove="i18n(this)">sequence.editor</span></dt> <dd> <p><span data-i18n="19f5145f071870d2c586402993cb2f2a4631d9f8ddcd3c92009639f961c99006/1b" data-source="Text editor used by &lt;code&gt;git rebase -i&lt;/code&gt; for editing the rebase instruction file. The value is meant to be interpreted by the shell when it is used. It can be overridden by the &lt;code&gt;GIT_SEQUENCE_EDITOR&lt;/code&gt; environment variable. When not configured, the default commit message editor is used instead." onmousemove="i18n(this)">&Tcy;&iecy;&kcy;&scy;&tcy;&ocy;&vcy;&ycy;&jcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&jcy;  <code>git rebase -i</code>  &dcy;&lcy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&kcy;&tscy;&icy;&jcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ocy; &dcy;&lcy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&acy;&tscy;&icy;&icy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&ocy;&jcy; &pcy;&rcy;&icy; &iecy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;. &IEcy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>GIT_SEQUENCE_EDITOR</code> . &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &ncy;&iecy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;, &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ncy;&iecy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&jcy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> </dl> </div> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-rebase">https://git-scm.com/docs/git-rebase</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script data-cfasync="false" src="../../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-receive-pack.html">
                            git receive-pack                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-reflog.html">
                            git reflog                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-remote.html">
                            git remote                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-remote-ext.html">
                            git remote-ext                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-remote-fd.html">
                            git remote-fd                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-repack.html">
                            git repack                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-replace.html">
                            git replace                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-rebase.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>